You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

99 lines
2.1 KiB

/*
* Copyright 2015 Marvin Ramin
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply plugin: 'com.android.library'
apply from: 'dependencies.gradle'
group 'com.mtramin'
version '0.1'
android {
compileSdkVersion versions.compileSdk
// buildToolsVersion versions.buildTools
defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
versionCode versions.code
versionName versions.name
}
buildTypes {
release {
debuggable false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
livedebug {
debuggable true
minifyEnabled false
}
stag {
debuggable true
minifyEnabled false
}
jme{
debuggable true
minifyEnabled false
}
generic{
debuggable true
minifyEnabled false
}
dev{
debuggable true
minifyEnabled false
}
}
lintOptions {
textReport true
}
testOptions {
unitTests.all {
testLogging {
events 'passed', 'skipped', 'failed'
exceptionFormat 'full'
}
}
}
}
dependencies {
// compileOnly libraries.supportAnnotations
api libraries.rxJava
implementation libraries.biometric
implementation libraries.androidx
testImplementation libraries.jUnit
testImplementation libraries.mockito
testImplementation libraries.powermockJUnit
testImplementation libraries.powermockMockito
}
//apply from: 'publish.gradle'