Pulse/app/build.gradle

73 lines
2 KiB
Groovy
Raw Normal View History

2022-02-01 23:38:08 +03:00
plugins {
id 'com.android.application'
id 'kotlin-android'
}
android {
namespace = 'partisan.weforge.xyz.pulse'
compileSdk = 34
2022-02-01 23:38:08 +03:00
defaultConfig {
applicationId = "partisan.weforge.xyz.pulse"
minSdk = 29
targetSdk = 34
versionCode = 10
versionName = "1.3.1"
2022-02-01 23:38:08 +03:00
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
storeFile file("release-key.jks")
storePassword RELEASE_STORE_PASSWORD
keyAlias "release-key"
keyPassword RELEASE_STORE_PASSWORD
}
2022-02-01 23:38:08 +03:00
}
buildTypes {
release {
minifyEnabled = false
signingConfig signingConfigs.release
proguardFiles(getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro')
2022-02-01 23:38:08 +03:00
}
}
2025-04-29 23:54:43 +02:00
2022-02-01 23:38:08 +03:00
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
2022-02-01 23:38:08 +03:00
}
2025-04-29 23:54:43 +02:00
2022-02-01 23:38:08 +03:00
kotlinOptions {
2025-04-29 23:54:43 +02:00
jvmTarget = '17'
2022-02-01 23:38:08 +03:00
}
buildFeatures {
viewBinding = true
2022-02-01 23:38:08 +03:00
}
2025-04-29 23:54:43 +02:00
2022-02-01 23:38:08 +03:00
lint {
disable += 'MissingTranslation'
2022-02-01 23:38:08 +03:00
}
dependenciesInfo {
// Disables dependency metadata when building APKs (for IzzyOnDroid/F-Droid)
includeInApk = false
// Disables dependency metadata when building Android App Bundles (for Google Play)
includeInBundle = false
}
2022-02-01 23:38:08 +03:00
}
dependencies {
2025-04-29 23:54:43 +02:00
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.11.0'
2022-02-16 12:30:44 +03:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2022-02-01 23:38:08 +03:00
testImplementation 'junit:junit:4.13.2'
2025-04-29 23:54:43 +02:00
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'androidx.preference:preference-ktx:1.2.1'
2022-02-01 23:38:08 +03:00
implementation 'androidx.cardview:cardview:1.0.0'
2025-04-29 23:54:43 +02:00
}