File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ buildscript {
1616 }
1717
1818 wrapper {
19- gradleVersion = " 7.4 "
19+ gradleVersion = " 6.8.3 "
2020 distributionType = Wrapper.DistributionType . ALL
2121 }
2222}
@@ -94,7 +94,7 @@ subprojects {
9494 }
9595
9696 apply from : " $rootDir /lib.gradle"
97- apply plugin : " java"
97+ apply plugin : " java-library "
9898 apply plugin : " eclipse"
9999
100100 repositories {
Original file line number Diff line number Diff line change 22archivesBaseName = " ${ project.projectName} -${ project.name} "
33
44dependencies {
5- compile( " $group :$projectName :$fjConsumeVersion " )
5+ api " $group :$projectName :$fjConsumeVersion "
66
7- testCompile junitCompile
8- testRuntime junitRuntime
7+ testImplementation junitCompile
8+ testRuntimeOnly junitRuntime
99}
Original file line number Diff line number Diff line change 66archivesBaseName = project. projectName
77
88dependencies {
9- testCompile junitCompile
10- testRuntime junitRuntime
11- testCompile ' com.h2database:h2:2.1.210'
12- testCompile ' commons-dbutils:commons-dbutils:1.7'
9+ testImplementation junitCompile
10+ testRuntimeOnly junitRuntime
11+ testImplementation ' com.h2database:h2:2.1.210'
12+ testImplementation ' commons-dbutils:commons-dbutils:1.7'
1313}
1414
1515performSigning(signingEnabled, signModule)
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ mainClassName = "fj.demo.euler.Problem2"
66archivesBaseName = " ${ project.projectName} -${ project.name} "
77
88dependencies {
9- compile project(" :core" )
10- compile project(" :quickcheck" )
11- testCompile junitCompile
12- testRuntime junitRuntime
9+ api project(" :core" )
10+ api project(" :quickcheck" )
11+ api junitCompile
12+ testImplementation junitRuntime
1313}
1414
1515test {
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.4 -all.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.8.3 -all.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 66}
77
88dependencies {
9- compile project(" :core" )
10- testCompile junitCompile
11- testRuntime junitRuntime
9+ api project(" :core" )
10+ testImplementation junitCompile
11+ testRuntimeOnly junitRuntime
1212}
1313
1414performSigning(signingEnabled, signModule)
Original file line number Diff line number Diff line change 11
22dependencies {
3- compile project(" :core" )
4- testCompile junitCompile
5- testRuntime junitRuntime
3+ api project(" :core" )
4+ testImplementation junitCompile
5+ testRuntimeOnly junitRuntime
66}
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ ext {
1111}
1212
1313dependencies {
14- compile project(" :core" )
15- compile " org.scala-lang:scala-library:$scalaVersion "
16- compile " org.scalacheck:scalacheck_$scalacheckScalaVersion :$scalacheckVersion "
14+ api project(" :core" )
15+ api " org.scala-lang:scala-library:$scalaVersion "
16+ api " org.scalacheck:scalacheck_$scalacheckScalaVersion :$scalacheckVersion "
1717
18- testCompile junitCompile
19- testRuntime junitRuntime
18+ testImplementation junitCompile
19+ testRuntimeOnly junitRuntime
2020}
2121
2222tasks. withType(ScalaCompile ) {
Original file line number Diff line number Diff line change 22archivesBaseName = " ${ project.projectName} -${ project.name} "
33
44dependencies {
5- compile project(" :quickcheck" )
6- testCompile junitCompile
7- testRuntime junitRuntime
5+ api project(" :quickcheck" )
6+ testImplementation junitCompile
7+ testRuntimeOnly junitRuntime
88}
Original file line number Diff line number Diff line change 66archivesBaseName = " ${ project.projectName} -${ project.name} "
77
88dependencies {
9- compile project(" :core" )
10- compile junitCompile
9+ api project(" :core" )
10+ api junitCompile
1111}
1212
1313performSigning(signingEnabled, signModule)
You can’t perform that action at this time.
0 commit comments