-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to gradle 8.6 * Update dependencies * Fix ~/Applications/ resolution * Fix selectInstallIndex invalid return * Upgrade generated BUILD_GRADLE_KTS to 1.8.20 * Replace truth by kotest * Rework CI config
- Loading branch information
Showing
15 changed files
with
106 additions
and
112 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# https://help.github.com/en/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
# https://help.github.com/en/actions/language-and-framework-guides/publishing-java-packages-with-gradle | ||
|
||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
# https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners | ||
# https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '11' | ||
|
||
- uses: gradle/actions/setup-gradle@v3 | ||
|
||
- run: ./gradlew --continue build app:installShadowDist # TODO: app:nativeImage | ||
|
||
- name: Publish jar | ||
uses: actions/upload-artifact@v1 | ||
if: runner.os == 'Linux' | ||
with: | ||
name: aidea-jar | ||
path: app/build/install/app-shadow/lib/aidea-all.jar | ||
|
||
# TODO: enable after OSX fix | ||
# - name: Publish Linux binary | ||
# uses: actions/upload-artifact@v1 | ||
# if: runner.os == 'Linux' | ||
# with: | ||
# name: aidea-linux | ||
# path: app/build/graal/aidea | ||
|
||
# TODO: java.lang.TypeNotPresentException: Type org.graalvm.nativeimage.Platform$MACOS not present | ||
# https://stackoverflow.com/questions/59717111/cannot-generate-native-image-using-graalvm-in-os-x-catalina | ||
# - name: Publish OSX binary | ||
# uses: actions/upload-artifact@v1 | ||
# if: runner.os == 'macOS' | ||
# with: | ||
# name: aidea-macos | ||
# path: app/build/graal/aidea |
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
Binary file not shown.
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,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip | ||
networkTimeout=10000 | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
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,20 +1,24 @@ | ||
#### Dependencies and Plugin versions with their available updates. | ||
#### Generated by `./gradlew refreshVersions` version 0.50.2 | ||
#### Generated by `./gradlew refreshVersions` version 0.60.5 | ||
#### | ||
#### Don't manually edit or split the comments that start with four hashtags (####), | ||
#### they will be overwritten by refreshVersions. | ||
#### | ||
#### suppress inspection "SpellCheckingInspection" for whole file | ||
#### suppress inspection "UnusedProperty" for whole file | ||
|
||
version.com.github.ajalt.clikt..clikt=3.5.0 | ||
plugin.com.github.johnrengelman.shadow=8.1.1 | ||
|
||
version.com.github.pgreze..kotlin-process=1.4 | ||
plugin.com.palantir.graal=0.12.0 | ||
|
||
version.com.google.truth..truth=1.1.3 | ||
version.com.github.ajalt.clikt..clikt=4.2.2 | ||
|
||
version.junit=5.9.1 | ||
version.com.github.pgreze..kotlin-process=1.4.1 | ||
|
||
version.kotlin=1.7.20 | ||
version.junit=5.10.2 | ||
|
||
version.kotlinx.coroutines=1.6.4 | ||
version.kotest=5.8.0 | ||
|
||
version.kotlin=1.9.22 | ||
|
||
version.kotlinx.coroutines=1.7.3 |