File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/resources/Java/libraries/webclient
samples/client/others/java/webclient-sealedInterface Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ if(hasProperty('target') && target == 'android') {
3232 }
3333
3434 compileOptions {
35- {{#useJakartaEe } }
35+ {{#java17 } }
3636 sourceCompatibility JavaVersion.VERSION_17
3737 targetCompatibility JavaVersion.VERSION_17
38- { {/useJakartaEe } }
39- { {^useJakartaEe } }
38+ { {/java17 } }
39+ { {^java17 } }
4040 sourceCompatibility JavaVersion.VERSION_1_8
4141 targetCompatibility JavaVersion.VERSION_1_8
42- { {/useJakartaEe } }
42+ { {/java17 } }
4343 }
4444
4545 // Rename the aar correctly
@@ -84,14 +84,14 @@ if(hasProperty('target') && target == 'android') {
8484 apply plugin: ' java'
8585 apply plugin: ' maven-publish'
8686
87- {{#useJakartaEe } }
87+ {{#java17 } }
8888 sourceCompatibility = JavaVersion.VERSION_17
8989 targetCompatibility = JavaVersion.VERSION_17
90- { {/useJakartaEe } }
91- { {^useJakartaEe } }
90+ { {/java17 } }
91+ { {^java17 } }
9292 sourceCompatibility = JavaVersion.VERSION_1_8
9393 targetCompatibility = JavaVersion.VERSION_1_8
94- { {/useJakartaEe } }
94+ { {/java17 } }
9595
9696 publishing {
9797 publications {
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ if(hasProperty('target') && target == 'android') {
3232 }
3333
3434 compileOptions {
35- sourceCompatibility JavaVersion . VERSION_1_8
36- targetCompatibility JavaVersion . VERSION_1_8
35+ sourceCompatibility JavaVersion . VERSION_17
36+ targetCompatibility JavaVersion . VERSION_17
3737 }
3838
3939 // Rename the aar correctly
@@ -78,8 +78,8 @@ if(hasProperty('target') && target == 'android') {
7878 apply plugin : ' java'
7979 apply plugin : ' maven-publish'
8080
81- sourceCompatibility = JavaVersion . VERSION_1_8
82- targetCompatibility = JavaVersion . VERSION_1_8
81+ sourceCompatibility = JavaVersion . VERSION_17
82+ targetCompatibility = JavaVersion . VERSION_17
8383
8484 publishing {
8585 publications {
You can’t perform that action at this time.
0 commit comments