52 lines
1.7 KiB
Groovy
52 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
defaultConfig {
|
|
applicationId "eu.stuifzand.micropub"
|
|
minSdkVersion 15
|
|
targetSdkVersion 26
|
|
versionCode 3
|
|
versionName '0.0.2-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
|
|
}
|
|
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'
|
|
// 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'
|
|
}
|