forked from PeterCxy/Shelter
59 lines
2.1 KiB
Groovy
59 lines
2.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
repositories {
|
|
//noinspection JcenterRepositoryObsolete
|
|
jcenter {
|
|
content {
|
|
includeVersion "mobi.upod", "time-duration-picker", "1.1.3"
|
|
}
|
|
}
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
buildToolsVersion '33.0.0'
|
|
defaultConfig {
|
|
applicationId "net.typeblog.shelter"
|
|
minSdkVersion 24
|
|
targetSdkVersion 33
|
|
versionCode 23
|
|
versionName "1.8"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
lint {
|
|
disable 'MissingTranslation', 'ExtraTranslation', 'GoogleAppIndexingWarning', 'InvalidFragmentVersionForActivityResult'
|
|
}
|
|
buildFeatures {
|
|
aidl true
|
|
}
|
|
namespace 'net.typeblog.shelter'
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
|
|
implementation 'androidx.fragment:fragment:1.5.2'
|
|
implementation 'androidx.appcompat:appcompat:1.6.0-beta01'
|
|
implementation 'androidx.preference:preference:1.2.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'com.google.android.material:material:1.6.1'
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
|
|
implementation 'mobi.upod:time-duration-picker:1.1.3'
|
|
debugImplementation project(path: ':setup-wizard-lib', configuration: 'gingerbreadCompatDebugRuntimeElements')
|
|
releaseImplementation project(path: ':setup-wizard-lib', configuration: 'gingerbreadCompatReleaseRuntimeElements')
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test:runner:1.4.1-alpha03'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0-alpha03'
|
|
}
|