Skip to content

Commit 797ccef

Browse files
authored
Upgrade to Gradle 6.0.1 (#108)
1 parent e06c2bb commit 797ccef

File tree

10 files changed

+22
-9
lines changed

10 files changed

+22
-9
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ allprojects {
2222
// Using Jitpack so I need the repo name in the group to match.
2323
group = 'com.stubbornjava.StubbornJava'
2424
version = '0.0.0-SNAPSHOT'
25+
26+
sourceCompatibility = 1.8
27+
targetCompatibility = 1.8
2528

2629
sourceSets {
2730
main {

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
org.gradle.configureondemand=true
22
org.gradle.parallel=true
3+
org.gradle.caching=true

gradle/dependencies.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ ext {
2121
hashids : '1.0.3', // Id hashing
2222
failsafe : '1.1.0', // retry and circuit breakers
2323
jsoup : '1.11.3', // DOM parsing library
24-
lombok : '1.18.2', // Code gen
24+
lombok : '1.18.10', // Code gen
2525
sitemapgen4j : '1.0.6', // Sitemap generator for SEO
2626
jbcrypt : '0.4', // BCrypt salted hashing library
2727
romeRss : '1.0', // RSS Library
2828
kotlin : '1.3.60', // Kotlin
29+
javax : '1.3.2',
2930

3031
junit : '4.12', // Unit Testing
3132
]
@@ -73,6 +74,7 @@ ext {
7374
jbcrypt : "org.mindrot:jbcrypt:$versions.jbcrypt",
7475
romeRss : "rome:rome:$versions.romeRss",
7576
kotlin : "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlin",
77+
javaxAnnotation : "javax.annotation:javax.annotation-api:$versions.javax",
7678

7779
junit : "junit:junit:$versions.junit",
7880
]

gradle/wrapper/gradle-wrapper.jar

1.38 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stubbornjava-cms-server/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ dependencies {
33
compile project(':stubbornjava-undertow')
44
compile project(':stubbornjava-common')
55

6-
compile libs.lombok
7-
6+
compileOnly libs.lombok
7+
annotationProcessor libs.lombok
8+
89
testCompile libs.junit
910
}

stubbornjava-common/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ dependencies {
3939
compile libs.jooqCodegen
4040
compile libs.flyway
4141
compile libs.connectorj
42+
compile libs.javaxAnnotation
4243

44+
compileOnly libs.lombok
45+
annotationProcessor libs.lombok
46+
4347
testCompile libs.junit
4448
testCompile libs.hsqldb
4549
}

stubbornjava-webapp/build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ dependencies {
77
compile project(':stubbornjava-common')
88
compile project(':stubbornjava-cms-server')
99

10-
compile libs.lombok
1110
compile libs.romeRss
11+
12+
compileOnly libs.lombok
13+
annotationProcessor libs.lombok
1214

1315
testCompile libs.junit
1416
}
1517

1618
shadowJar {
17-
baseName = 'stubbornjava-all'
19+
archiveBaseName = 'stubbornjava-all'
1820
classifier = null
19-
version = null
21+
archiveVersion = null
2022
}
2123

2224
// {{end:dependencies}}

0 commit comments

Comments
 (0)