91 lines
2.6 KiB
Groovy
91 lines
2.6 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
buildToolsVersion "30.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "com.manueldidonna.wavestimeranimation"
|
|
minSdkVersion 23
|
|
targetSdkVersion 31
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
signingConfigs {
|
|
// We use a bundled debug keystore, to allow debug builds from CI to be upgradable
|
|
debug {
|
|
storeFile rootProject.file('debug.keystore')
|
|
storePassword 'android'
|
|
keyAlias 'androiddebugkey'
|
|
keyPassword 'android'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
useIR = true
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
|
|
// Disable unused AGP features
|
|
buildConfig false
|
|
aidl false
|
|
renderScript false
|
|
resValues false
|
|
shaders false
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion compose_version
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude "DebugProbesKt.bin"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.core:core-ktx:1.7.0-beta01'
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.compose.material:material:$compose_version"
|
|
implementation "androidx.compose.material:material-icons-extended:$compose_version"
|
|
implementation "androidx.compose.ui:ui-tooling:$compose_version"
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
|
|
implementation 'androidx.activity:activity-compose:1.4.0-alpha02'
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1"
|
|
|
|
implementation "com.google.accompanist:accompanist-insets:0.18.0"
|
|
implementation "com.google.accompanist:accompanist-systemuicontroller:0.18.0"
|
|
|
|
testImplementation "junit:junit:4.13.2"
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.2"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
|
|
} |