Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc127409 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Updater: Update gradle deps

parent 411079e9
Loading
Loading
Loading
Loading
+18 −14
Original line number Diff line number Diff line
@@ -14,11 +14,11 @@ apply {

buildscript {
    repositories {
        maven("https://raw.githubusercontent.com/lineage-next/gradle-generatebp/v1.2/.m2")
        maven("https://raw.githubusercontent.com/lineage-next/gradle-generatebp/main/.m2")
    }

    dependencies {
        classpath("org.lineageos:gradle-generatebp:+")
        classpath("org.lineageos:gradle-generatebp:1.23")
    }
}

@@ -30,12 +30,12 @@ val keystoreProperties = Properties().apply {
}

android {
    compileSdk = 33
    compileSdk = 35

    defaultConfig {
        applicationId = "org.lineageos.updater"
        minSdk = 32
        targetSdk = 33
        minSdk = 35
        targetSdk = 35
        versionCode = 1
        versionName = "1.0"
    }
@@ -57,12 +57,16 @@ android {
    }

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

    kotlinOptions {
        jvmTarget = "11"
        jvmTarget = "21"
    }

    buildFeatures {
        buildConfig = true
    }

    signingConfigs {
@@ -87,14 +91,14 @@ android {
dependencies {
    compileOnly(fileTree(mapOf("dir" to "../system_libs", "include" to listOf("*.jar"))))

    implementation("androidx.core:core-ktx:1.9.0")
    implementation("androidx.appcompat:appcompat:1.6.1")
    implementation("androidx.core:core-ktx:1.16.0")
    implementation("androidx.appcompat:appcompat:1.7.0")
    implementation("androidx.cardview:cardview:1.0.0")
    implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1")
    implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.0")
    implementation("androidx.localbroadcastmanager:localbroadcastmanager:1.1.0")
    implementation("androidx.preference:preference:1.2.0")
    implementation("androidx.recyclerview:recyclerview:1.2.1")
    implementation("com.google.android.material:material:1.9.0-alpha01")
    implementation("androidx.preference:preference-ktx:1.2.1")
    implementation("androidx.recyclerview:recyclerview:1.4.0")
    implementation("com.google.android.material:material:1.12.0")
}

configure<GenerateBpPluginExtension> {
+4 −4
Original line number Diff line number Diff line
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id("com.android.application") version "8.7.3" apply false
    id("com.android.library") version "8.7.3" apply false
    id("org.jetbrains.kotlin.android") version "1.7.10" apply false
    id("com.android.application") version "8.10.0" apply false
    id("com.android.library") version "8.10.0" apply false
    id("org.jetbrains.kotlin.android") version "2.1.20" apply false
}

tasks.register<Delete>("clean").configure {
    delete(rootProject.buildDir)
    delete(rootProject.layout.buildDirectory)
}
+0 −1
Original line number Diff line number Diff line
@@ -21,5 +21,4 @@ kotlin.code.style=official
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false
+1 −1
Original line number Diff line number Diff line
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME