Skip to content

Commit 76812e8

Browse files
authored
Merge pull request #666 from takahirom/tm/update-java-target-version-to-11-and-add-javadoc-generation-to-ci-workflow/2025-03-22
Downgrade Java target version to 11 and add javadoc generation to CI workflow
2 parents 4b99f44 + 98c55e4 commit 76812e8

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- name: tests
2727
id: test
2828
run: |
29+
./gradlew javaDocReleaseGeneration
2930
./gradlew test --stacktrace -x testReleaseUnitTest
3031
3132
- name: include build tests

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
accessibilityTestFramework = "4.1.1"
33
javaToolchain = "17"
4-
javaTarget = "17"
4+
javaTarget = "11"
55
agp = "8.6.1"
66
commons-compress = "1.23.0"
77
kotlin = "1.9.22"

include-build/roborazzi-gradle-plugin/src/integrationTest/java/io/github/takahirom/roborazzi/RoborazziGradleProject.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ android {
247247
}
248248
}
249249
compileOptions {
250-
sourceCompatibility = JavaVersion.VERSION_17
251-
targetCompatibility = JavaVersion.VERSION_17
250+
sourceCompatibility = JavaVersion.VERSION_11
251+
targetCompatibility = JavaVersion.VERSION_11
252252
}
253253
kotlinOptions {
254-
jvmTarget = "17"
254+
jvmTarget = "11"
255255
}
256256
buildFeatures {
257257
// compose = true

0 commit comments

Comments
 (0)