chaosflix/common/build.gradle

74 lines
2.2 KiB
Groovy
Raw Normal View History

2017-09-18 19:56:00 +00:00
apply plugin: 'com.android.library'
2017-10-24 19:37:57 +00:00
apply plugin: 'android-maven'
apply plugin: 'kotlin-android'
2017-10-26 22:21:39 +00:00
apply plugin: 'kotlin-kapt'
2017-09-18 19:56:00 +00:00
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
2017-09-18 19:56:00 +00:00
defaultConfig {
2017-09-18 20:27:10 +00:00
minSdkVersion 17
// minSdkVersion rootProject.ext.minSDK
targetSdkVersion rootProject.ext.targetSDK
2017-09-18 19:56:00 +00:00
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
2017-10-24 19:37:57 +00:00
group="de.nicidienase.chaosflix"
2017-11-12 16:23:17 +00:00
version="1.2.1-SNAPSHOT"
2017-10-24 19:37:57 +00:00
2017-09-18 19:56:00 +00:00
dependencies {
api 'com.android.support:appcompat-v7:27.0.0'
2017-10-31 19:49:53 +00:00
// implementation 'com.android.support:multidex:1.0.2'
// api "android.arch.lifecycle:runtime:1.0.3"
2017-09-18 20:27:10 +00:00
api "android.arch.lifecycle:extensions:${rootProject.ext.archCompVersion}"
kapt "android.arch.lifecycle:compiler:${rootProject.ext.archCompVersion}"
api "android.arch.lifecycle:common-java8:1.0.0-rc1"
2017-10-26 21:07:52 +00:00
api "android.arch.persistence.room:runtime:${rootProject.ext.archCompVersion}"
api "android.arch.persistence.room:rxjava2:${rootProject.ext.archCompVersion}"
2017-10-12 16:27:41 +00:00
kapt "android.arch.persistence.room:compiler:${rootProject.ext.archCompVersion}"
api 'io.reactivex.rxjava2:rxjava:2.1.3'
2017-10-31 19:49:53 +00:00
api 'com.squareup.retrofit2:retrofit:2.3.0'
api 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
api 'com.squareup.retrofit2:converter-jackson:2.2.0'
2017-10-24 22:04:25 +00:00
api 'com.fasterxml.jackson.module:jackson-module-kotlin:2.9.0'
2017-10-31 19:49:53 +00:00
// implementation 'joda-time:joda-time:2.9.9'
// implementation 'org.joda:joda-convert:1.8'
2017-09-18 19:56:00 +00:00
testCompile "org.mockito:mockito-core:2.11.0"
2017-09-18 19:56:00 +00:00
testImplementation 'junit:junit:4.12'
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})
2017-10-26 22:21:39 +00:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
2017-09-18 19:56:00 +00:00
}
repositories {
mavenCentral()
}