mirror of
https://codeberg.org/NextPush/nextpush-android.git
synced 2025-01-19 13:11:18 +01:00
5bdb051e15
Bumps [okhttp-bom](https://github.com/square/okhttp) from 4.9.1 to 4.9.3. - [Release notes](https://github.com/square/okhttp/releases) - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](https://github.com/square/okhttp/compare/parent-4.9.1...parent-4.9.3) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:okhttp-bom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
70 lines
2.1 KiB
Groovy
70 lines
2.1 KiB
Groovy
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 1
|
|
versionName "0.0.1"
|
|
|
|
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/*")
|
|
}
|
|
|
|
}
|
|
|
|
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.2")
|
|
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.8.9")
|
|
}
|