plugins { id 'com.android.application' id 'kotlin-android' } android { compileSdkVersion 30 buildToolsVersion "30.0.3" configurations.all { resolutionStrategy { force 'androidx.core:core-ktx:1.6.0' force 'androidx.core:core:1.6.0' } } defaultConfig { applicationId "org.unifiedpush.distributor.nextpush" minSdkVersion 24 targetSdkVersion 30 versionCode 11 versionName "1.3.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { resValue "string", "app_name", "NextPush" minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } debug { resValue "string", "app_name", "NextPush-dbg" applicationIdSuffix ".debug" debuggable true } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } packagingOptions { exclude("META-INF/*") } } if (project.hasProperty('sign')) { android { signingConfigs { release { storeFile file(System.getenv("RELEASE_STORE_FILE")) storePassword System.getenv("RELEASE_STORE_PASSWORD") keyAlias System.getenv("RELEASE_KEY_ALIAS") keyPassword System.getenv("RELEASE_KEY_PASSWORD") } } } android.buildTypes.release.signingConfig android.signingConfigs.release } dependencies { ext.coreVersion = "1.6.0" implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version") implementation("androidx.core:core:$coreVersion") implementation("androidx.core:core-ktx:$coreVersion") implementation("androidx.appcompat:appcompat:1.3.1") implementation("com.google.android.material:material:1.4.0") implementation("androidx.constraintlayout:constraintlayout:2.1.3") implementation("androidx.coordinatorlayout:coordinatorlayout:1.1.0") implementation(platform("com.squareup.okhttp3:okhttp-bom:4.9.3")) implementation("com.squareup.okhttp3:okhttp") implementation("com.squareup.okhttp3:okhttp-sse") implementation("com.github.nextcloud:Android-SingleSignOn:0.6.0") implementation("com.squareup.retrofit2:retrofit:2.9.0") implementation("io.reactivex.rxjava2:rxjava:2.2.21") implementation("com.google.code.gson:gson:2.9.0") implementation("androidx.work:work-runtime-ktx:2.6.0") }