Skip to content

Commit 02950a8

Browse files
authored
Merge pull request #37 from cicoyle/fix-release-1.5.8
Fix release pipeline: use java 11 everywhere
2 parents 0661997 + 037dffe commit 02950a8

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

azurefunctions/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ dependencies {
2424
compileOnly "com.microsoft.azure.functions:azure-functions-java-spi:1.0.0"
2525
}
2626

27-
sourceCompatibility = JavaVersion.VERSION_1_8
28-
targetCompatibility = JavaVersion.VERSION_1_8
27+
sourceCompatibility = JavaVersion.VERSION_11
28+
targetCompatibility = JavaVersion.VERSION_11
2929

3030
publishing {
3131
repositories {

azuremanaged/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,13 @@ dependencies {
4949
}
5050

5151
compileJava {
52-
sourceCompatibility = JavaVersion.VERSION_1_8
53-
targetCompatibility = JavaVersion.VERSION_1_8
52+
sourceCompatibility = JavaVersion.VERSION_11
53+
targetCompatibility = JavaVersion.VERSION_11
5454
}
5555

5656
compileTestJava {
5757
sourceCompatibility = JavaVersion.VERSION_11
5858
targetCompatibility = JavaVersion.VERSION_11
59-
options.fork = true
60-
options.forkOptions.executable = "${PATH_TO_TEST_JAVA_RUNTIME}/bin/javac"
6159
}
6260

6361
test {

endtoendtests/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ dependencies {
2626

2727
}
2828

29-
sourceCompatibility = '1.8'
30-
targetCompatibility = '1.8'
29+
sourceCompatibility = '11'
30+
targetCompatibility = '11'
3131

3232
compileJava.options.encoding = 'UTF-8'
3333

samples-azure-functions/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ dependencies {
2626

2727
}
2828

29-
sourceCompatibility = '1.8'
30-
targetCompatibility = '1.8'
29+
sourceCompatibility = '11'
30+
targetCompatibility = '11'
3131

3232
compileJava.options.encoding = 'UTF-8'
3333

0 commit comments

Comments
 (0)