File tree Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ tasks.withType(JavaCompile).configureEach {
19
19
dependencies {
20
20
testImplementation " org.junit.jupiter:junit-jupiter:${ VER_JUNIT} "
21
21
testImplementation " org.assertj:assertj-core:${ VER_ASSERTJ} "
22
- testImplementation project( ' : testlib' )
22
+ testImplementation projects . testlib
23
23
}
24
24
25
25
tasks. withType(Test ). configureEach {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ apply from: rootProject.file('gradle/java-publish.gradle')
9
9
10
10
String VER_SOLSTICE = ' 1.3.1'
11
11
dependencies {
12
- api project( ' : lib' )
12
+ api projects . lib
13
13
// misc useful utilities
14
14
implementation " com.diffplug.durian:durian-core:${ VER_DURIAN} "
15
15
implementation " com.diffplug.durian:durian-collect:${ VER_DURIAN} "
@@ -20,7 +20,7 @@ dependencies {
20
20
implementation " dev.equo.ide:solstice:${ VER_SOLSTICE} "
21
21
22
22
// testing
23
- testImplementation project( ' : testlib' )
23
+ testImplementation projects . testlib
24
24
testImplementation " org.junit.jupiter:junit-jupiter:${ VER_JUNIT} "
25
25
testImplementation " org.assertj:assertj-core:${ VER_ASSERTJ} "
26
26
testImplementation " com.diffplug.durian:durian-testlib:${ VER_DURIAN} "
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ apply from: rootProject.file('gradle/spotless-freshmark.gradle')
10
10
11
11
dependencies {
12
12
if (version. endsWith(' -SNAPSHOT' ) || (rootProject. spotlessChangelog. versionNext == rootProject. spotlessChangelog. versionLast)) {
13
- api project( ' : lib' )
14
- api project( ' :lib-extra ' )
13
+ api projects . lib
14
+ api projects . libExtra
15
15
} else {
16
16
api " com.diffplug.spotless:spotless-lib:${ rootProject.spotlessChangelog.versionLast} "
17
17
api " com.diffplug.spotless:spotless-lib-extra:${ rootProject.spotlessChangelog.versionLast} "
@@ -21,7 +21,7 @@ dependencies {
21
21
implementation " com.diffplug.durian:durian-collect:${ VER_DURIAN} "
22
22
implementation " org.eclipse.jgit:org.eclipse.jgit:${ VER_JGIT} "
23
23
24
- testImplementation project( ' : testlib' )
24
+ testImplementation projects . testlib
25
25
testImplementation " org.junit.jupiter:junit-jupiter:${ VER_JUNIT} "
26
26
testImplementation " org.assertj:assertj-core:${ VER_ASSERTJ} "
27
27
testImplementation " com.diffplug.durian:durian-testlib:${ VER_DURIAN} "
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ String VER_MAVEN_API = '3.0'
30
30
String VER_ECLIPSE_AETHER = ' 1.1.0'
31
31
String VER_PLEXUS_RESOURCES = ' 1.2.0'
32
32
dependencies {
33
- implementation project( ' : lib' )
34
- implementation project( ' :lib-extra ' )
33
+ implementation projects . lib
34
+ implementation projects . libExtra
35
35
36
36
compileOnly " org.apache.maven:maven-plugin-api:${ VER_MAVEN_API} "
37
37
compileOnly " org.apache.maven.plugin-tools:maven-plugin-annotations:${ VER_MAVEN_API} "
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ gradleEnterprise {
71
71
}
72
72
73
73
enableFeaturePreview(" STABLE_CONFIGURATION_CACHE" )
74
+ enableFeaturePreview(" TYPESAFE_PROJECT_ACCESSORS" )
74
75
75
76
rootProject. name = ' spotless'
76
77
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ version = rootProject.spotlessChangelog.versionNext
6
6
apply from : rootProject. file(' gradle/java-setup.gradle' )
7
7
8
8
dependencies {
9
- api project( ' : lib' )
10
- api files(project( ' : lib' ) . sourceSets. sortPom. output. classesDirs)
9
+ api projects . lib
10
+ api files(projects . lib. dependencyProject . sourceSets. sortPom. output. classesDirs)
11
11
api " com.diffplug.durian:durian-core:${ VER_DURIAN} "
12
12
api " com.diffplug.durian:durian-testlib:${ VER_DURIAN} "
13
13
api " org.junit.jupiter:junit-jupiter:${ VER_JUNIT} "
You can’t perform that action at this time.
0 commit comments