mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-06 15:36:45 +00:00
39 lines
879 B
Groovy
39 lines
879 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
apply plugin: 'kotlin-allopen'
|
|
|
|
dependencies {
|
|
api 'com.squareup.okhttp3:okhttp:3.12.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
|
|
api 'com.gitlab.ownclouders:dav4android:oc_support_1.0.1'
|
|
}
|
|
|
|
allOpen {
|
|
// allows mocking for classes w/o directly opening them for release builds
|
|
annotation 'com.owncloud.android.lib.testing.OpenClass'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
targetSdkVersion 29
|
|
|
|
versionCode = 10000101
|
|
versionName = "1.0.2-beta.1"
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
ignoreWarnings true
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|