Skip to content

Commit

Permalink
Check 10.8.0-RC.1 with KSP
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Nähler committed Nov 7, 2023
1 parent a196f69 commit d8ec180
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ on: push

jobs:
build:
name: 'G=${{ matrix.gradle }} | J=${{ matrix.java }} | AGP=${{ matrix.agp }} | K=${{ matrix.kotlin }}'
name: 'G=${{ matrix.gradle }} | J=${{ matrix.java }} | AGP=${{ matrix.agp }} | K=${{ matrix.kotlin }} | KSP=${{ matrix.ksp }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gradle: [7.6.3, 8.4]
java: [11, 17]
agp: [7.4.2, 8.1.2]
kotlin: [1.7.21, 1.8.22, 1.9.10]
include:
- kotlin: 1.7.21
ksp: "1.7.21-1.0.8"
- kotlin: 1.8.22
ksp: "1.8.22-1.0.11"
- kotlin: 1.9.10
ksp: "1.9.10-1.0.13"
exclude:
# AGP 8.0+ requires Gradle 8.0
- agp: 8.1.2
Expand All @@ -31,9 +37,9 @@ jobs:
uses: eskatos/gradle-command-action@v1
with:
gradle-version: ${{ matrix.gradle }}
arguments: :app:assembleDebug -PagpVersion=${{ matrix.agp }} -PkotlinVersion=${{ matrix.kotlin }} --scan
arguments: :app:assembleDebug -PagpVersion=${{ matrix.agp }} -PkotlinVersion=${{ matrix.kotlin }} -PkspVersion=${{ matrix.ksp }} --scan
- name: Upload APK
uses: actions/upload-artifact@v2
with:
name: G-${{ matrix.gradle }}-J-${{ matrix.java }}-AGP-${{ matrix.agp }}-K-${{ matrix.kotlin }}
name: G-${{ matrix.gradle }}-J-${{ matrix.java }}-AGP-${{ matrix.agp }}-K-${{ matrix.kotlin }}-KSP-${{ matrix.ksp }}
path: app/build/outputs/apk/debug/app-debug.apk
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
buildscript {
ext {
kotlinVersion = findProperty("kotlinVersion")?.toString() ?: "1.6.21"
ksp_version = findProperty("kspVersion")?.toString() ?: "1.6.21-1.0.6"
agpVersion = findProperty("agpVersion")?.toString() ?: "7.1.3"
}
repositories {
Expand All @@ -14,6 +15,7 @@ buildscript {
classpath "com.android.tools.build:gradle:$agpVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'ly.img.android.pesdk:plugin:10.8.0-RC.1'
classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$ksp_version")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down

0 comments on commit d8ec180

Please sign in to comment.