2017-10-23 11:40:38 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2017-10-27 22:10:06 +01:00
|
|
|
apply plugin: 'kotlin-android'
|
2017-10-23 23:00:43 +01:00
|
|
|
|
2018-03-03 22:07:06 +00:00
|
|
|
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Gplay")){
|
2018-02-19 01:14:21 +00:00
|
|
|
apply from: 'gplay.gradle'
|
|
|
|
}
|
2017-10-23 11:40:38 +01:00
|
|
|
|
|
|
|
android {
|
2017-11-27 13:31:17 +00:00
|
|
|
compileSdkVersion 27
|
2018-02-08 12:25:12 +00:00
|
|
|
buildToolsVersion '27.0.3'
|
2017-10-23 11:40:38 +01:00
|
|
|
defaultConfig {
|
2018-01-01 10:26:31 +00:00
|
|
|
applicationId "com.nextcloud.talk2"
|
2017-11-06 19:01:53 +00:00
|
|
|
versionName version
|
2017-10-23 11:40:38 +01:00
|
|
|
minSdkVersion 21
|
2017-11-27 13:31:17 +00:00
|
|
|
targetSdkVersion 27
|
2017-10-23 11:40:38 +01:00
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
|
2018-04-24 10:34:17 +01:00
|
|
|
versionCode 34
|
|
|
|
versionName "1.2.0"
|
2018-02-19 01:14:21 +00:00
|
|
|
|
|
|
|
flavorDimensions "default"
|
2017-12-12 22:31:41 +00:00
|
|
|
|
2018-02-19 01:14:21 +00:00
|
|
|
productFlavors {
|
|
|
|
// used for f-droid
|
2018-03-03 22:07:06 +00:00
|
|
|
generic
|
|
|
|
gplay
|
2018-02-19 01:14:21 +00:00
|
|
|
}
|
2017-10-23 11:40:38 +01:00
|
|
|
// Enabling multidex support.
|
|
|
|
multiDexEnabled true
|
|
|
|
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
disable 'InvalidPackage'
|
2017-12-19 16:49:29 +00:00
|
|
|
disable 'MissingTranslation'
|
2017-10-23 11:40:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/LICENSE'
|
|
|
|
exclude 'META-INF/NOTICE'
|
|
|
|
exclude 'META-INF/rxjava.properties'
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2018-03-07 09:14:20 +00:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
htmlReport true
|
|
|
|
htmlOutput file("$project.buildDir/reports/lint/lint.html")
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2017-10-23 11:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
2018-04-26 19:24:30 +01:00
|
|
|
supportLibraryVersion = '27.1.1'
|
2017-10-23 11:40:38 +01:00
|
|
|
}
|
|
|
|
|
2017-11-06 19:01:53 +00:00
|
|
|
|
|
|
|
configurations.all {
|
2018-02-08 13:19:43 +00:00
|
|
|
exclude group: 'com.google.firebase', module: 'firebase-core'
|
2017-11-06 19:01:53 +00:00
|
|
|
resolutionStrategy {
|
|
|
|
force "com.android.support:cardview-v7:${supportLibraryVersion}"
|
|
|
|
force "com.android.support:preference-v7:${supportLibraryVersion}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-23 11:40:38 +01:00
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
implementation "com.android.support:appcompat-v7:${supportLibraryVersion}"
|
|
|
|
implementation "com.android.support:design:${supportLibraryVersion}"
|
2017-11-29 21:40:29 +00:00
|
|
|
|
2018-03-03 22:07:06 +00:00
|
|
|
implementation 'com.android.support:multidex:1.0.3'
|
2017-10-23 11:40:38 +01:00
|
|
|
|
2017-11-06 19:01:53 +00:00
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
2018-04-26 19:24:30 +01:00
|
|
|
implementation "io.reactivex.rxjava2:rxjava:2.1.7"
|
2017-10-23 11:40:38 +01:00
|
|
|
|
|
|
|
implementation 'com.bluelinelabs:conductor:2.1.4'
|
|
|
|
implementation 'com.bluelinelabs:conductor-support:2.1.4'
|
|
|
|
|
2017-10-28 19:20:52 +01:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
|
2017-11-11 04:39:01 +00:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.9.0'
|
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.0'
|
2017-10-23 11:40:38 +01:00
|
|
|
|
|
|
|
implementation 'com.bluelinelabs:logansquare:1.3.7'
|
|
|
|
annotationProcessor 'com.bluelinelabs:logansquare-compiler:1.3.7'
|
|
|
|
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
|
2017-11-06 19:01:53 +00:00
|
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
|
2017-10-23 11:40:38 +01:00
|
|
|
implementation 'com.github.aurae.retrofit2:converter-logansquare:1.4.1'
|
|
|
|
|
2018-04-26 19:24:30 +01:00
|
|
|
implementation 'com.google.dagger:dagger:2.9'
|
|
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.9'
|
2017-10-23 11:40:38 +01:00
|
|
|
implementation 'com.github.lukaspili.autodagger2:autodagger2:1.1'
|
|
|
|
annotationProcessor 'com.github.lukaspili.autodagger2:autodagger2-compiler:1.1'
|
|
|
|
|
2018-04-26 19:24:30 +01:00
|
|
|
compileOnly 'javax.annotation:jsr250-api:1.0' // Android only
|
|
|
|
|
2017-10-23 11:40:38 +01:00
|
|
|
implementation 'org.greenrobot:eventbus:3.0.0'
|
|
|
|
|
2018-04-26 19:24:30 +01:00
|
|
|
implementation 'io.requery:requery:1.5.1'
|
|
|
|
implementation 'io.requery:requery-android:1.5.1'
|
2018-01-15 06:17:34 +00:00
|
|
|
implementation 'net.zetetic:android-database-sqlcipher:3.5.9'
|
2018-04-26 19:24:30 +01:00
|
|
|
annotationProcessor 'io.requery:requery-processor:1.5.1'
|
2017-10-23 11:40:38 +01:00
|
|
|
|
2018-04-19 22:56:39 +01:00
|
|
|
implementation 'org.parceler:parceler-api:1.1.9'
|
2017-10-23 11:40:38 +01:00
|
|
|
annotationProcessor 'org.parceler:parceler:1.1.9'
|
|
|
|
|
2017-11-06 19:01:53 +00:00
|
|
|
implementation 'net.orange-box.storebox:storebox-lib:1.4.0'
|
2017-10-23 11:40:38 +01:00
|
|
|
|
|
|
|
compileOnly "org.projectlombok:lombok:1.16.18"
|
|
|
|
annotationProcessor "org.projectlombok:lombok:1.16.18"
|
|
|
|
|
2017-11-06 19:01:53 +00:00
|
|
|
implementation 'com.jakewharton:butterknife:8.8.1'
|
2017-10-23 11:40:38 +01:00
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
|
|
|
|
|
2018-04-19 22:56:39 +01:00
|
|
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
|
|
|
|
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
|
2017-10-23 11:40:38 +01:00
|
|
|
|
2018-04-19 22:56:39 +01:00
|
|
|
implementation 'com.github.HITGIF:TextFieldBoxes:1.4.3'
|
2017-10-23 11:40:38 +01:00
|
|
|
|
2018-04-19 22:56:39 +01:00
|
|
|
implementation 'eu.davidea:flexible-adapter:5.0.3'
|
2018-03-21 18:40:17 +00:00
|
|
|
implementation 'eu.davidea:flexible-adapter-ui:1.0.0-b3'
|
2017-10-23 11:40:38 +01:00
|
|
|
|
2017-11-06 19:01:53 +00:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.3.0'
|
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.3.0'
|
|
|
|
implementation 'com.github.bumptech.glide:okhttp3-integration:4.3.0@aar'
|
2017-12-12 21:09:29 +00:00
|
|
|
implementation 'org.webrtc:google-webrtc:1.0.21217'
|
2017-10-27 22:10:06 +01:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:${kotlinVersion}"
|
2017-10-23 22:03:07 +01:00
|
|
|
|
2018-02-12 11:24:26 +00:00
|
|
|
implementation 'com.evernote:android-job:1.2.4'
|
2017-10-28 19:20:52 +01:00
|
|
|
|
2018-02-08 12:02:22 +00:00
|
|
|
implementation 'com.yarolegovich:lovely-dialog:1.1.0'
|
|
|
|
implementation 'com.yarolegovich:lovelyinput:1.0.9'
|
|
|
|
implementation 'com.yarolegovich:mp:1.0.9'
|
2017-10-29 22:08:36 +00:00
|
|
|
|
2017-12-12 21:09:29 +00:00
|
|
|
implementation 'me.zhanghai.android.effortlesspermissions:library:1.0.2'
|
|
|
|
|
2017-11-15 21:41:35 +00:00
|
|
|
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
|
2017-11-08 19:06:41 +00:00
|
|
|
|
2018-03-11 21:04:41 +00:00
|
|
|
implementation 'com.github.wooplr:Spotlight:1.2.3'
|
|
|
|
|
2018-04-23 14:57:48 +01:00
|
|
|
implementation 'com.github.stfalcon:chatkit:0.2.2'
|
|
|
|
|
2017-11-27 13:31:17 +00:00
|
|
|
implementation 'com.github.Kennyc1012:BottomSheet:2.4.0'
|
2018-02-02 10:40:42 +00:00
|
|
|
implementation 'eu.davidea:flipview:1.1.3'
|
2017-10-23 11:40:38 +01: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'
|
|
|
|
})
|
|
|
|
}
|