mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8 * Handle upgrading Gradle to v8.0.2 * Update AGP to 8.0.0-RC01 * Try to set JAVA_HOME to JDK17 * Update lint version. * Use right JDK for dependency analysis, replace deprecated env var --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4cf9647fc4
commit
cda0606a0d
@@ -23,8 +23,8 @@ plugins {
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -21,8 +21,8 @@ plugins {
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -24,6 +24,10 @@ plugins {
|
||||
android {
|
||||
namespace = "io.element.android.libraries.designsystem"
|
||||
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Should not be there, but this is a POC
|
||||
implementation(libs.coil.compose)
|
||||
|
||||
@@ -25,6 +25,10 @@ plugins {
|
||||
|
||||
android {
|
||||
namespace = "io.element.android.libraries.matrix.api"
|
||||
|
||||
buildFeatures {
|
||||
buildConfig = true
|
||||
}
|
||||
}
|
||||
|
||||
anvil {
|
||||
|
||||
@@ -23,8 +23,8 @@ plugins {
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -18,15 +18,8 @@
|
||||
@Suppress("DSL_SCOPE_VIOLATION")
|
||||
plugins {
|
||||
id("io.element.android-library")
|
||||
alias(libs.plugins.stemlibrary)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "io.element.android.libraries.ui.strings"
|
||||
}
|
||||
|
||||
// forcing the stem string template generator to be cacheable, without this the templates
|
||||
// are regenerated causing the app module to recompile its sources
|
||||
tasks.withType(com.likethesalad.android.templates.common.tasks.BaseTask::class.java) {
|
||||
outputs.cacheIf { true }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user