mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
AGP 9.0
This commit is contained in:
+8
-12
@@ -1,8 +1,5 @@
|
|||||||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.androidApplication)
|
alias(libs.plugins.androidApplication)
|
||||||
alias(libs.plugins.jetbrainsKotlinAndroid)
|
|
||||||
alias(libs.plugins.gradle.ktlint) version(libs.versions.ktlint)
|
alias(libs.plugins.gradle.ktlint) version(libs.versions.ktlint)
|
||||||
alias(libs.plugins.kotlin.ksp) version(libs.versions.ksp)
|
alias(libs.plugins.kotlin.ksp) version(libs.versions.ksp)
|
||||||
alias(libs.plugins.jetbrainsComposeCompiler)
|
alias(libs.plugins.jetbrainsComposeCompiler)
|
||||||
@@ -15,7 +12,6 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.greenart7c3.nostrsigner"
|
applicationId "com.greenart7c3.nostrsigner"
|
||||||
minSdk 26
|
minSdk 26
|
||||||
targetSdk 36
|
|
||||||
versionCode 172
|
versionCode 172
|
||||||
versionName "4.1.1"
|
versionName "4.1.1"
|
||||||
|
|
||||||
@@ -95,6 +91,11 @@ android {
|
|||||||
arg("room.schemaLocation", "$projectDir/schemas")
|
arg("room.schemaLocation", "$projectDir/schemas")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_21
|
||||||
|
targetCompatibility JavaVersion.VERSION_21
|
||||||
|
}
|
||||||
|
|
||||||
if (System.getenv('SIGN_RELEASE')) {
|
if (System.getenv('SIGN_RELEASE')) {
|
||||||
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||||
def keystoreProperties = new Properties()
|
def keystoreProperties = new Properties()
|
||||||
@@ -129,11 +130,11 @@ android {
|
|||||||
flavorDimensions += "version"
|
flavorDimensions += "version"
|
||||||
|
|
||||||
productFlavors {
|
productFlavors {
|
||||||
create("free") {
|
register("free") {
|
||||||
getIsDefault().set(true)
|
getIsDefault().set(true)
|
||||||
dimension = "version"
|
dimension = "version"
|
||||||
}
|
}
|
||||||
create("offline") {
|
register("offline") {
|
||||||
dimension = "version"
|
dimension = "version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -155,6 +156,7 @@ android {
|
|||||||
buildFeatures {
|
buildFeatures {
|
||||||
compose = true
|
compose = true
|
||||||
buildConfig = true
|
buildConfig = true
|
||||||
|
resValues = true
|
||||||
}
|
}
|
||||||
|
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
@@ -165,12 +167,6 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions {
|
|
||||||
jvmTarget = JvmTarget.JVM_21
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
composeCompiler {
|
composeCompiler {
|
||||||
reportsDestination = layout.buildDirectory.dir("compose_compiler")
|
reportsDestination = layout.buildDirectory.dir("compose_compiler")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.androidApplication) apply false
|
alias(libs.plugins.androidApplication) apply false
|
||||||
alias(libs.plugins.androidLibrary) apply false
|
alias(libs.plugins.androidLibrary) apply false
|
||||||
alias(libs.plugins.jetbrainsKotlinAndroid) apply false
|
|
||||||
alias(libs.plugins.serialization) apply false
|
alias(libs.plugins.serialization) apply false
|
||||||
alias(libs.plugins.kotlin.ksp) version(libs.versions.ksp) apply false
|
alias(libs.plugins.kotlin.ksp) version(libs.versions.ksp) apply false
|
||||||
alias(libs.plugins.gradle.ktlint) version(libs.versions.ktlint) apply false
|
alias(libs.plugins.gradle.ktlint) version(libs.versions.ktlint) apply false
|
||||||
|
|||||||
@@ -22,5 +22,4 @@ kotlin.code.style=official
|
|||||||
# thereby reducing the size of the R class for that library
|
# thereby reducing the size of the R class for that library
|
||||||
android.nonTransitiveRClass=true
|
android.nonTransitiveRClass=true
|
||||||
android.enableR8.fullMode=true
|
android.enableR8.fullMode=true
|
||||||
android.nonFinalResIds=false
|
|
||||||
org.gradle.configuration-cache=true
|
org.gradle.configuration-cache=true
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[versions]
|
[versions]
|
||||||
activityCompose = "1.12.2"
|
activityCompose = "1.12.3"
|
||||||
appcompat = "1.7.1"
|
appcompat = "1.7.1"
|
||||||
biometricKtx = "1.2.0-alpha05"
|
biometricKtx = "1.2.0-alpha05"
|
||||||
core = "3.5.4"
|
core = "3.5.4"
|
||||||
@@ -10,25 +10,25 @@ junit = "4.13.2"
|
|||||||
junitVersion = "1.3.0"
|
junitVersion = "1.3.0"
|
||||||
lifecycle_version = "2.10.0"
|
lifecycle_version = "2.10.0"
|
||||||
material3 = "1.4.0"
|
material3 = "1.4.0"
|
||||||
nav_version = "2.9.6"
|
nav_version = "2.9.7"
|
||||||
quartz = "1.05.1"
|
quartz = "1.05.1"
|
||||||
compose_ui = "1.10.1"
|
compose_ui = "1.10.2"
|
||||||
richtextUi = "a02a03a3e9"
|
richtextUi = "a02a03a3e9"
|
||||||
roomKtx = "2.8.4"
|
roomKtx = "2.8.4"
|
||||||
securityCryptoKtx = "1.1.0"
|
securityCryptoKtx = "1.1.0"
|
||||||
zxingAndroidEmbedded = "4.3.0"
|
zxingAndroidEmbedded = "4.3.0"
|
||||||
okhttp = "5.3.2"
|
okhttp = "5.3.2"
|
||||||
kotlin = "2.3.0"
|
kotlin = "2.3.0"
|
||||||
workRuntimeKtx = "2.11.0"
|
workRuntimeKtx = "2.11.1"
|
||||||
agp = "8.13.2"
|
agp = "9.0.0"
|
||||||
ktlint = "14.0.1"
|
ktlint = "14.0.1"
|
||||||
ksp = "2.3.2"
|
ksp = "2.3.5"
|
||||||
coil = "3.3.0"
|
coil = "3.3.0"
|
||||||
storage = "2.2.0"
|
storage = "2.2.0"
|
||||||
jna = "5.18.1"
|
jna = "5.18.1"
|
||||||
materialIconsExtended = "1.7.8"
|
materialIconsExtended = "1.7.8"
|
||||||
collections = "0.4.0"
|
collections = "0.4.0"
|
||||||
pagingCommon = "3.3.6"
|
pagingCommon = "3.4.0"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastorePreferences" }
|
datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastorePreferences" }
|
||||||
@@ -79,7 +79,6 @@ paging-compose = { group = "androidx.paging", name = "paging-compose", version.r
|
|||||||
paging-runtime = { group = "androidx.paging", name = "paging-runtime", version.ref = "pagingCommon" }
|
paging-runtime = { group = "androidx.paging", name = "paging-runtime", version.ref = "pagingCommon" }
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
jetbrainsKotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
||||||
androidLibrary = { id = "com.android.library", version.ref = "agp" }
|
androidLibrary = { id = "com.android.library", version.ref = "agp" }
|
||||||
androidApplication = { id = "com.android.application", version.ref = "agp" }
|
androidApplication = { id = "com.android.application", version.ref = "agp" }
|
||||||
gradle_ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "ktlint" }
|
gradle_ktlint = { id = "org.jlleitschuh.gradle.ktlint", version = "ktlint" }
|
||||||
|
|||||||
Reference in New Issue
Block a user