Update to Gradle 4
Issue gh-520
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,3 +10,4 @@ build
|
||||
*.ipr
|
||||
.idea
|
||||
*.iws
|
||||
out
|
||||
|
||||
@@ -5,5 +5,3 @@ dependencies {
|
||||
compile gradleApi()
|
||||
compile localGroovy()
|
||||
}
|
||||
|
||||
configurations.archives.artifacts.clear()
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
task checkDependencies << {
|
||||
verifyNoDependenciesMatchingVersion(".*-SNAPSHOT")
|
||||
if(releaseBuild) {
|
||||
verifyNoDependenciesMatchingVersion(".*M.*")
|
||||
verifyNoDependenciesMatchingVersion(".*RC.*")
|
||||
task checkDependencies {
|
||||
doLast {
|
||||
verifyNoDependenciesMatchingVersion(".*-SNAPSHOT")
|
||||
if (releaseBuild) {
|
||||
verifyNoDependenciesMatchingVersion(".*M.*")
|
||||
verifyNoDependenciesMatchingVersion(".*RC.*")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
|
||||
|
||||
@@ -30,7 +30,7 @@ public class TestsWithJdepend {
|
||||
@Before
|
||||
public void setUp() throws IOException {
|
||||
jdepend = new JDepend();
|
||||
jdepend.addDirectory("build/classes/main");
|
||||
jdepend.addDirectory("build/classes/java/main");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -30,8 +30,4 @@ rootProject.children.each { p->
|
||||
}
|
||||
|
||||
findProject(":spring-ldap-test-support").name = "spring-ldap-test"
|
||||
findProject(":spring-ldap-test-support-unboundid").name = "spring-ldap-test-unboundid"
|
||||
|
||||
// Exposes gradle buildSrc for IDE support
|
||||
include "buildSrc"
|
||||
rootProject.children.find{ it.name == "buildSrc" }.name = "spring-build-src"
|
||||
findProject(":spring-ldap-test-support-unboundid").name = "spring-ldap-test-unboundid"
|
||||
Reference in New Issue
Block a user