70 lines
2.2 KiB
Groovy
70 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
defaultConfig {
|
|
applicationId "eu.stuifzand.micropub"
|
|
minSdkVersion 15
|
|
targetSdkVersion 26
|
|
versionCode 12
|
|
versionName '0.0.12-alpha'
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
targetCompatibility 1.8
|
|
sourceCompatibility 1.8
|
|
}
|
|
testOptions {
|
|
unitTests {
|
|
includeAndroidResources = true
|
|
}
|
|
}
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
dexOptions {
|
|
javaMaxHeapSize "2048M"
|
|
}
|
|
productFlavors {
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'com.android.support:appcompat-v7:26.1.0'
|
|
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
implementation 'com.android.support:design:26.1.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:3.9.1'
|
|
testImplementation 'com.squareup.okhttp3:mockwebserver:3.9.1';
|
|
testImplementation "org.robolectric:robolectric:3.7.1"
|
|
apply plugin: 'kotlin-android-extensions'
|
|
// Logging
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.1'
|
|
// ViewModel and LiveData
|
|
implementation 'android.arch.lifecycle:extensions:1.1.0'
|
|
annotationProcessor "android.arch.lifecycle:compiler:1.1.0"
|
|
// Java8 support for Lifecycles
|
|
implementation 'android.arch.lifecycle:common-java8:1.1.0'
|
|
implementation 'org.jsoup:jsoup:1.11.2'
|
|
implementation 'com.google.code.gson:gson:2.8.2'
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.1'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
|
|
|
|
implementation 'com.android.support:support-annotations:27.0.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:2.1.12"
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|