85 lines
3.0 KiB
Groovy
85 lines
3.0 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
|
|
defaultConfig {
|
|
applicationId "com.sockenklaus.batterytracker"
|
|
minSdk 29
|
|
targetSdk 32
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
compose true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion '1.2.0'
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.room:room-runtime:2.5.0-alpha02'
|
|
implementation "androidx.compose.ui:ui:1.3.0-alpha01"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:1.3.0-alpha01"
|
|
implementation 'androidx.compose.material:material-icons-extended:1.3.0-alpha01'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.0'
|
|
annotationProcessor 'androidx.room:room-compiler:2.5.0-alpha02'
|
|
|
|
implementation 'androidx.room:room-rxjava3:2.5.0-alpha02'
|
|
implementation "androidx.room:room-paging:2.5.0-alpha02"
|
|
|
|
implementation 'com.google.android.material:material:1.7.0-alpha02'
|
|
|
|
implementation 'androidx.core:core-ktx:1.8.0'
|
|
implementation 'androidx.appcompat:appcompat:1.4.2'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.0'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.0'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.5.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'androidx.activity:activity-compose:1.5.0'
|
|
implementation 'androidx.compose.material:material:1.3.0-alpha01'
|
|
implementation 'androidx.compose.animation:animation:1.3.0-alpha01'
|
|
implementation 'androidx.compose.ui:ui-tooling:1.3.0-alpha01'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.5.0'
|
|
implementation 'com.google.android.material:compose-theme-adapter:1.1.14'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.compose.ui:ui-test-junit4:1.3.0-alpha01'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
debugImplementation "androidx.compose.ui:ui-test-manifest:1.1.1"
|
|
} |