Update to Gradle 5.0
Change project's gradle version to 5.0, this requires to make some minor adjustments. Fixes: gh-6148
This commit is contained in:
parent
f808740c57
commit
6bddb38cac
|
@ -48,7 +48,7 @@ class AspectJPlugin implements Plugin<Project> {
|
||||||
def javaCompileTaskName = javaCompileTask.name
|
def javaCompileTaskName = javaCompileTask.name
|
||||||
def ajCompileTask = project.tasks.create(name: javaCompileTaskName + 'Aspect', overwrite: true, description: 'Compiles AspectJ Source', type: Ajc) {
|
def ajCompileTask = project.tasks.create(name: javaCompileTaskName + 'Aspect', overwrite: true, description: 'Compiles AspectJ Source', type: Ajc) {
|
||||||
inputs.files(javaCompileTask.inputs.files)
|
inputs.files(javaCompileTask.inputs.files)
|
||||||
inputs.properties(javaCompileTask.inputs.properties)
|
inputs.properties(javaCompileTask.inputs.properties.findAll {it.value != null})
|
||||||
|
|
||||||
sourceRoots.addAll(project.sourceSets.main.java.srcDirs)
|
sourceRoots.addAll(project.sourceSets.main.java.srcDirs)
|
||||||
if(javaCompileTaskName.contains("Test")) {
|
if(javaCompileTaskName.contains("Test")) {
|
||||||
|
|
|
@ -73,9 +73,6 @@ dependencies {
|
||||||
testRuntime 'org.hsqldb:hsqldb'
|
testRuntime 'org.hsqldb:hsqldb'
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
|
||||||
inputs.file file("$rootDir/docs/manual/src/docbook/appendix-namespace.xml")
|
|
||||||
}
|
|
||||||
|
|
||||||
rncToXsd {
|
rncToXsd {
|
||||||
rncDir = file('src/main/resources/org/springframework/security/config/')
|
rncDir = file('src/main/resources/org/springframework/security/config/')
|
||||||
|
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -28,7 +28,7 @@ APP_NAME="Gradle"
|
||||||
APP_BASE_NAME=`basename "$0"`
|
APP_BASE_NAME=`basename "$0"`
|
||||||
|
|
||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
DEFAULT_JVM_OPTS=""
|
DEFAULT_JVM_OPTS='"-Xmx64m"'
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD="maximum"
|
MAX_FD="maximum"
|
||||||
|
|
|
@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
|
||||||
set APP_HOME=%DIRNAME%
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
set DEFAULT_JVM_OPTS=
|
set DEFAULT_JVM_OPTS="-Xmx64m"
|
||||||
|
|
||||||
@rem Find java.exe
|
@rem Find java.exe
|
||||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||||
|
|
Loading…
Reference in New Issue