70 lines
2.1 KiB
Plaintext
70 lines
2.1 KiB
Plaintext
import java.text.SimpleDateFormat
|
|
import java.util.Date
|
|
|
|
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.android)
|
|
id("kotlin-kapt")
|
|
id("kotlin-parcelize")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.paperapp.lenscape"
|
|
compileSdk {
|
|
version = release(36)
|
|
}
|
|
val timestamp = SimpleDateFormat("MM_dd_HH_mm").format(Date())
|
|
|
|
defaultConfig {
|
|
applicationId = "com.paperapp.lenscape"
|
|
minSdk = 26
|
|
targetSdk = 36
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
setProperty("archivesBaseName", "Lenscape_V" + versionName + "_${versionCode}_$timestamp")
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.androidx.appcompat)
|
|
implementation(libs.material)
|
|
implementation(libs.androidx.activity)
|
|
implementation(libs.androidx.constraintlayout)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.androidx.junit)
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
|
|
implementation("androidx.room:room-runtime:2.7.2")
|
|
kapt("androidx.room:room-compiler:2.7.2")
|
|
implementation("androidx.room:room-ktx:2.7.2")
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2")
|
|
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.6.2")
|
|
implementation("androidx.activity:activity-ktx:1.10.1")
|
|
implementation("com.github.bumptech.glide:glide:4.16.0")
|
|
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
|
|
|
implementation(files("libs/TradPlusLibrary_11_25_15_02-release.aar"))
|
|
implementation(files("libs/UpLoadLibrary_12_03_15_13-release.aar"))
|
|
} |