2b13c69d75
This way, it is more naturally visible what is the actuall app (with the initial recent documents / file picker) and the editing part. Change-Id: Ia764f2900939e980f703e3da9f9abd6c0aee7cbb
58 lines
2.1 KiB
Groovy
58 lines
2.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
// buildhost settings - paths and the like
|
|
apply from: 'appSettings.gradle'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
// applicationId, versionCode and versionName are defined in appSettings.gradle
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
resValue "string", "app_name", "${liboAppName} Debug"
|
|
resValue "string", "vendor", "${liboVendor}"
|
|
resValue "string", "info_url", "${liboInfoURL}"
|
|
ndk {
|
|
//abiFilters "x86", "armeabi-v7a", "armeabi"
|
|
abiFilters "armeabi-v7a"
|
|
}
|
|
applicationIdSuffix '.debug'
|
|
versionNameSuffix '-debug'
|
|
debuggable true
|
|
}
|
|
release {
|
|
resValue "string", "app_name", "${liboAppName}"
|
|
resValue "string", "vendor", "${liboVendor}"
|
|
resValue "string", "info_url", "${liboInfoURL}"
|
|
ndk {
|
|
abiFilters "armeabi-v7a"
|
|
}
|
|
minifyEnabled false // FIXME disabled before we get a good proguardRules for callFakeWebsocketOnMessage calling from C++
|
|
shrinkResources false // FIXME cannot be enabled when minifyEnabled is turned off
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'),
|
|
'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
flatDir {
|
|
dirs "${liboWorkdir}/UnpackedTarball/owncloud_android_lib/build/outputs/aar"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
|
implementation 'com.google.android.material:material:1.1.0-alpha04'
|
|
implementation(name: 'owncloud_android_lib', ext: 'aar')
|
|
|
|
//before changing the version please see https://issuetracker.google.com/issues/111662669
|
|
implementation 'androidx.preference:preference:1.1.0-alpha01'
|
|
implementation project(path: ':lib')
|
|
}
|