-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Cleanup the build scripts and update to Gradle 8.10 * Fix the CI issues * Remove the debug prints * Update to AGP 8.0.0 * Update to Java 11 source target * Fix all tests * Add a test for AGP 7.3.1 * Fix the test error (cherry picked from commit a8c7e9e) Co-authored-by: Nicklas Ansman <[email protected]>
- Loading branch information
Showing
44 changed files
with
258 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,20 +46,10 @@ jobs: | |
echo Picking $TO_PICK | ||
if [ -n "$TO_PICK" ]; then git cherry-pick -x $TO_PICK; fi | ||
- name: Setup Java 9 | ||
- name: Setup Java 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '9' | ||
java-package: jdk | ||
architecture: x64 | ||
- name: set JDK_9 environment variable for kotlin compiler | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: echo ::set-env name=JDK_9::$(echo $JAVA_HOME) | ||
- name: Setup Java 11 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
java-version: '17' | ||
java-package: jdk | ||
architecture: x64 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,21 +34,10 @@ jobs: | |
minimum-size: 8 | ||
maximum-size: 16 | ||
disk-root: "D:" | ||
- name: Setup Java 9 | ||
- name: Setup Java 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '9' | ||
java-package: jdk | ||
architecture: x64 | ||
- name: set JDK_9 environment variable for kotlin compiler | ||
shell: bash | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: echo ::set-env name=JDK_9::$(echo $JAVA_HOME) | ||
- name: Setup Java 11 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
java-version: '17' | ||
java-package: jdk | ||
architecture: x64 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,20 +13,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Java 9 | ||
- name: Setup Java 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '9' | ||
java-package: jdk | ||
architecture: x64 | ||
- name: set JDK_9 environment variable for kotlin compiler | ||
env: | ||
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | ||
run: echo ::set-env name=JDK_9::$(echo $JAVA_HOME) | ||
- name: Setup Java 11 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '11' | ||
java-version: '17' | ||
java-package: jdk | ||
architecture: x64 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,14 @@ | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
plugins { | ||
kotlin("jvm") version "1.9.0" | ||
kotlin("jvm") version embeddedKotlinVersion | ||
} | ||
|
||
kotlin { | ||
jvmToolchain { | ||
languageVersion.set(JavaLanguageVersion.of(11)) | ||
languageVersion.set(JavaLanguageVersion.of(17)) | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap/") | ||
} | ||
|
||
// As per https://docs.gradle.org/7.2/userguide/validation_problems.html#implementation_unknown | ||
tasks.withType<KotlinCompile>().configureEach { | ||
kotlinOptions { | ||
apiVersion = "1.4" | ||
languageVersion = "1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.