Skip to content

Commit

Permalink
chore: Update to AGP 8.7.3, Java 11 source/target
Browse files Browse the repository at this point in the history
  • Loading branch information
kingargyle committed Dec 15, 2024
1 parent 4dd3bb4 commit c40e06e
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 20 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {

}
dependencies {
classpath("com.google.firebase:firebase-crashlytics-gradle:2.7.1")
classpath("com.google.firebase:firebase-crashlytics-gradle:3.0.2")
classpath("com.android.tools.build:gradle:${libs.versions.androidPluginVersion.get()}")
classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlinVersion.get()}")
Expand Down Expand Up @@ -70,7 +70,7 @@ subprojects {
allprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = JavaVersion.VERSION_11.toString()
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions emby-lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

sourceSets {
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ android.enableJetifier=true
android.jetifier.ignorelist=bcprov,robolectric
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.unsafe.configuration-cache=false
org.gradle.configuration-cache=true

2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ junit = "1.2.1"
juniversalchardetVersion = "1.0.3"
kotlinVersion = "1.9.24"
kotlinCoroutinesVersion = "1.7.3"
androidPluginVersion = "8.5.0"
androidPluginVersion = "8.7.3"
leanbackPreferenceVersion = "1.1.0-rc01"
leanbackVersion = "1.1.0-rc02"
legacySupportV4Version = "1.0.0"
Expand Down
5 changes: 3 additions & 2 deletions jacoco.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
apply plugin: "jacoco"

tasks.withType(Test) {
tasks.withType(Test).configureEach {
jacoco.includeNoLocationClasses = true
jacoco.excludes = ['jdk.internal.*']
}

task jacocoTestReport(type: JacocoReport, dependsOn: 'testDebugUnitTest') {
tasks.register('jacocoTestReport', JacocoReport) {
dependsOn 'testDebugUnitTest'

reports {
xml.required = true
Expand Down
4 changes: 2 additions & 2 deletions manager/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

sourceSets {
Expand Down
4 changes: 2 additions & 2 deletions serenity-android-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ android {
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

sourceSets {
Expand Down
4 changes: 0 additions & 4 deletions serenity-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ android {
}
}

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
}

dependencies {

implementation(platform(libs.firebase.bom))
Expand Down
4 changes: 2 additions & 2 deletions serenity-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ plugins {
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}


Expand Down
4 changes: 2 additions & 2 deletions subtitle-converter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

dependencies {
Expand Down

0 comments on commit c40e06e

Please sign in to comment.