This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.library' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-kapt' | |
android { | |
compileSdkVersion 25 | |
buildToolsVersion "25.0.2" | |
defaultConfig { | |
minSdkVersion 16 | |
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' | |
} | |
} | |
sourceSets { | |
test.java.srcDirs += 'src/test/kotlin' | |
androidTest.java.srcDirs += 'src/androidTest/kotlin' | |
} | |
} | |
dependencies { | |
def commonDependencies = rootProject.ext.commonDependencies | |
def dataDependencies = rootProject.ext.dataDependencies | |
def testDependencies = rootProject.ext.testDependencies | |
compile project(path: ':domain') | |
compile fileTree(dir: 'libs', include: ['*.jar']) | |
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | |
exclude group: 'com.android.support', module: 'support-annotations' | |
}) | |
compile 'com.android.support:appcompat-v7:25.2.0' | |
compile dataDependencies.dagger | |
kapt dataDependencies.daggerCompiler | |
compile commonDependencies.kotlin | |
provided commonDependencies.javaAnnotations | |
testCompile 'junit:junit:4.12' | |
testCompile commonDependencies.kotlin | |
testCompile testDependencies.kjunit | |
testCompile 'com.nhaarman:mockito-kotlin:1.1.0' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment