Initial QSfera import
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
apply plugin: "com.android.application"
|
||||
apply plugin: "kotlin-android"
|
||||
|
||||
dependencies {
|
||||
implementation libs.kotlin.stdlib
|
||||
implementation libs.kotlinx.coroutines.android
|
||||
implementation libs.kotlinx.coroutines.core
|
||||
|
||||
implementation libs.androidx.activity
|
||||
implementation libs.androidx.appcompat
|
||||
implementation libs.androidx.core.ktx
|
||||
implementation libs.androidx.lifecycle.runtime.ktx
|
||||
implementation libs.material
|
||||
|
||||
testImplementation libs.junit4
|
||||
}
|
||||
|
||||
android {
|
||||
namespace "eu.qsfera.keeper"
|
||||
compileSdkVersion sdkCompileVersion
|
||||
|
||||
defaultConfig {
|
||||
applicationId "eu.qsfera.keeper"
|
||||
minSdkVersion sdkMinVersion
|
||||
targetSdkVersion sdkTargetVersion
|
||||
versionCode 22
|
||||
versionName "0.1.21"
|
||||
|
||||
def apiBaseUrl = project.findProperty("keeperApiBaseUrl") ?: "https://qsfera.kusoft.xyz/keeper-notes"
|
||||
def cloudBaseUrl = project.findProperty("qsferaCloudBaseUrl") ?: "https://qsfera.kusoft.xyz"
|
||||
buildConfigField "String", "KEEPER_API_BASE_URL", "\"${apiBaseUrl}\""
|
||||
buildConfigField "String", "QSFERA_CLOUD_BASE_URL", "\"${cloudBaseUrl}\""
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_17.toString()
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
||||
}
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
buildConfig true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user