File tree 7 files changed +15
-16
lines changed
7 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- - name : Set up JDK 17
15
+ - name : Set up JDK 21
16
16
uses : actions/setup-java@v1
17
17
with :
18
- java-version : 17
18
+ java-version : 21
19
19
- name : Cache Gradle packages
20
20
uses : actions/cache@v4
21
21
with :
Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
See [ Conventional Commits] ( https://conventionalcommits.org ) for commit guidelines.
5
5
6
- # [ 4.13.1 ] ( ) (Upcoming)
6
+ # [ 4.14.0 ] ( ) (Upcoming)
7
7
8
8
### Bug Fixes
9
9
@@ -15,7 +15,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
15
15
16
16
### BREAKING CHANGES
17
17
18
- *
18
+ * Migrate to java 21 [ # 98 ] ( https://github.com/LFDT-web3j/web3j-gradle-plugin/pull/98 )
19
19
20
20
# [ 4.13.0] ( https://github.com/hyperledger-web3j/web3j-gradle-plugin/releases/tag/v4.13.0 ) (2024-03-07)
21
21
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ plugins {
12
12
description = ' Gradle plugin providing tasks to generate Web3j contracts from Solidity.'
13
13
14
14
java {
15
- sourceCompatibility = 17
15
+ sourceCompatibility = 21
16
16
}
17
17
18
18
ext {
@@ -29,7 +29,7 @@ apply {
29
29
' junit'
30
30
]. each { buildScript ->
31
31
download. run {
32
- src " https://raw.githubusercontent.com/hyperledger -web3j/web3j-build-tools/main/gradle/$buildScript /build.gradle"
32
+ src " https://raw.githubusercontent.com/LFDT -web3j/web3j-build-tools/main/gradle/$buildScript /build.gradle"
33
33
dest " $rootDir /gradle/$buildScript /build.gradle"
34
34
overwrite true
35
35
quiet true
@@ -67,7 +67,7 @@ dependencies {
67
67
68
68
gradlePlugin {
69
69
website = ' https://web3j.io/'
70
- vcsUrl = ' https://github.com/hyperledger -web3j/web3j-gradle-plugin'
70
+ vcsUrl = ' https://github.com/LFDT -web3j/web3j-gradle-plugin'
71
71
plugins {
72
72
web3j {
73
73
description = ' Gradle plugin providing tasks to generate web3j contracts from Solidity.'
Original file line number Diff line number Diff line change 1
1
group =org.web3j
2
- version =4.13 .0
2
+ version =4.14 .0
3
3
org.gradle.caching =true
4
4
org.gradle.parallel =true
5
- solidityPluginVersion =0.5.2
6
- kotlinVersion =1.9.24
5
+ solidityPluginVersion =0.6.0
6
+ kotlinVersion =2.1.0
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
2
3
3
java {
4
- sourceCompatibility = 17
5
- targetCompatibility = 17
4
+ toolchain {
5
+ languageVersion. set(JavaLanguageVersion . of(21 ))
6
+ }
6
7
}
7
-
8
8
compileJava {
9
9
options. compilerArgs << " -Xlint:unchecked" << " -Xlint:deprecation"
10
10
}
Original file line number Diff line number Diff line change 1
1
repositories {
2
2
mavenCentral()
3
- jcenter()
4
3
maven { url ' https://oss.sonatype.org/content/repositories/releases/' }
5
4
maven { url " https://oss.sonatype.org/content/repositories/snapshots/" }
6
5
}
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ apply plugin: 'com.diffplug.spotless'
3
3
apply plugin : " de.undercouch.download"
4
4
5
5
task downloadJavaLicense (type : Download ) {
6
- src ' https://raw.githubusercontent.com/hyperledger -web3j/web3j-build-tools/main/gradle/spotless/java.license'
6
+ src ' https://raw.githubusercontent.com/LFDT -web3j/web3j-build-tools/main/gradle/spotless/java.license'
7
7
dest new File (" $rootDir /gradle/spotless" ,' java.license' )
8
8
quiet true
9
9
onlyIfModified true
10
10
}
11
11
12
12
task downloadFormatterProperties (type : Download ) {
13
- src ' https://raw.githubusercontent.com/hyperledger -web3j/web3j-build-tools/main/gradle/spotless/formatter.properties'
13
+ src ' https://raw.githubusercontent.com/LFDT -web3j/web3j-build-tools/main/gradle/spotless/formatter.properties'
14
14
dest new File (" $rootDir /gradle/spotless" ,' formatter.properties' )
15
15
quiet true
16
16
onlyIfModified true
You can’t perform that action at this time.
0 commit comments