mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 17:18:52 -06:00
Create android-base module
This commit is contained in:
46
android-base/build.gradle
Normal file
46
android-base/build.gradle
Normal file
@@ -0,0 +1,46 @@
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
|
||||
android {
|
||||
compileSdkVersion 25
|
||||
buildToolsVersion "25.0.2"
|
||||
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 25
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.google.dagger:dagger:2.9'
|
||||
implementation 'com.android.support:design:25.3.1'
|
||||
implementation 'com.android.support:appcompat-v7:25.3.1'
|
||||
|
||||
annotationProcessor 'com.google.dagger:dagger-compiler:2.9'
|
||||
androidTestAnnotationProcessor 'com.google.dagger:dagger-compiler:2.9'
|
||||
androidTestImplementation 'com.google.dagger:dagger:2.9'
|
||||
testAnnotationProcessor 'com.google.dagger:dagger-compiler:2.9'
|
||||
|
||||
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
|
||||
testImplementation 'junit:junit:4.12'
|
||||
}
|
||||
Reference in New Issue
Block a user