Skip to content

Commit

Permalink
Removing toolchain (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
riggaroo authored Feb 13, 2025
2 parents 63210a3 + d8df669 commit 16bd3cc
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 31 deletions.
6 changes: 3 additions & 3 deletions JetLagged/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ android {
isDebuggable = false
}
}
kotlinOptions {
jvmTarget = "17"
}

compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
compose = true
// Disable unused AGP features
Expand Down
7 changes: 3 additions & 4 deletions JetNews/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ android {
"proguard-rules.pro")
}
}
kotlinOptions {
jvmTarget = "17"
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -77,10 +80,6 @@ android {
}
}

kotlin {
jvmToolchain(17)
}

dependencies {
val composeBom = platform(libs.androidx.compose.bom)
implementation(composeBom)
Expand Down
7 changes: 4 additions & 3 deletions Jetcaster/core/domain-testing/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ android {
)
}
}
kotlinOptions {
jvmTarget = "17"
}
compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
kotlin {
jvmToolchain(17)
}

dependencies {
implementation(projects.core.domain)

Expand Down
7 changes: 4 additions & 3 deletions Jetcaster/core/domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ android {
)
}
}
kotlinOptions {
jvmTarget = "17"
}
compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
kotlin {
jvmToolchain(17)
}

dependencies {
coreLibraryDesugaring(libs.core.jdk.desugaring)
implementation(projects.core.data)
Expand Down
7 changes: 3 additions & 4 deletions Jetcaster/glancewidget/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ android {
compose = true
buildConfig = true
}

kotlinOptions {
jvmTarget = "17"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand All @@ -36,9 +38,6 @@ android {
}
}
}
kotlin {
jvmToolchain(17)
}

dependencies {

Expand Down
7 changes: 4 additions & 3 deletions Jetcaster/tv/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ android {
)
}
}
kotlinOptions {
jvmTarget = "17"
}

compileOptions {
isCoreLibraryDesugaringEnabled = true
Expand All @@ -81,9 +84,7 @@ android {
}
}
}
kotlin {
jvmToolchain(17)
}


dependencies {
implementation(libs.androidx.core.ktx)
Expand Down
6 changes: 3 additions & 3 deletions Jetcaster/wear/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ android {
includeAndroidResources true
}
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.majorVersion
freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn"
Expand All @@ -62,16 +63,15 @@ android {
buildFeatures {
compose true
}

packagingOptions {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
excludes += "rome-utils-" + libs.rometools.rome.get().version + ".jar"
}
}
}
kotlin {
jvmToolchain(17)
}

dependencies {


Expand Down
6 changes: 3 additions & 3 deletions Jetchat/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ android {
}
}

kotlinOptions {
jvmTarget = "17"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand All @@ -79,9 +82,6 @@ android {
}
}

kotlin {
jvmToolchain(17)
}
dependencies {
val composeBom = platform(libs.androidx.compose.bom)
implementation(composeBom)
Expand Down
5 changes: 3 additions & 2 deletions Jetsnack/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ android {
}
}

kotlinOptions {
jvmTarget = "17"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions { jvmTarget = "17" }

buildFeatures {
compose = true
}
Expand Down
3 changes: 0 additions & 3 deletions Reply/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ android {
compose = true
}
}
kotlin {
jvmToolchain(17)
}

dependencies {
val composeBom = platform(libs.androidx.compose.bom)
Expand Down

0 comments on commit 16bd3cc

Please sign in to comment.