Factor out power management UI code into library

This commit is contained in:
Torsten Grote
2021-10-26 15:58:32 -03:00
parent 4acc5f4d8c
commit a1c5bf17ca
42 changed files with 477 additions and 285 deletions

View File

@@ -0,0 +1,32 @@
plugins {
id 'com.android.library'
}
android {
compileSdkVersion 31
defaultConfig {
minSdkVersion 16
targetSdkVersion 30
vectorDrawables.useSupportLibrary = true
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation "androidx.fragment:fragment:$androidx_fragment_version"
implementation "androidx.constraintlayout:constraintlayout:$androidx_constraintlayout_version"
implementation "com.google.android.material:material:$google_material_version"
}