mirror of
https://github.com/VibedByKaKi/orgzly-android-revived.git
synced 2026-10-11 21:01:20 +02:00
55 lines
1.4 KiB
Groovy
55 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
namespace = "com.orgzly.shared.test"
|
|
compileSdk 36
|
|
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdk 23
|
|
buildConfigField "String", "DROPBOX_APP_KEY", gradle.ext.appProperties.getProperty("dropbox.app_key", '""')
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug {
|
|
buildConfigField "String", "DROPBOX_REFRESH_TOKEN", gradle.ext.appProperties.getProperty("dropbox.refresh_token", '""')
|
|
}
|
|
}
|
|
flavorDimensions "store"
|
|
productFlavors {
|
|
premium {
|
|
dimension "store"
|
|
}
|
|
|
|
fdroid {
|
|
dimension "store"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = 17
|
|
}
|
|
|
|
packagingOptions {
|
|
resources.merges.add("plugin.properties")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(path: ':app')
|
|
implementation "junit:junit:$versions.junit"
|
|
implementation 'androidx.documentfile:documentfile:1.1.0'
|
|
implementation "org.eclipse.jgit:org.eclipse.jgit:$versions.jgit"
|
|
}
|