12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- plugins {
- id("com.android.application")
- id("org.jetbrains.kotlin.android")
- }
- android {
- namespace="com.example.androidfinal"
- compileSdk = 33
- defaultConfig {
- applicationId = "com.example.androidfinal"
- minSdk = 24
- targetSdk = 33
- versionCode = 1
- versionName = "1.0"
- }
- buildTypes {
- getByName("debug") {
- isDebuggable = true
- isJniDebuggable = true
- isMinifyEnabled = false
- packaging {
- jniLibs.keepDebugSymbols.add("*/arm64-v8a/*.so")
- jniLibs.keepDebugSymbols.add("*/armeabi-v7a/*.so")
- jniLibs.keepDebugSymbols.add("*/x86/*.so")
- jniLibs.keepDebugSymbols.add("*/x86_64/*.so")
- }
- }
- getByName("release") {
- isMinifyEnabled = true
- proguardFiles(
- *fileTree(".") { include("**/*.pro") }
- .plus(getDefaultProguardFile("proguard-android-optimize.txt"))
- .toList().toTypedArray()
- )
- }
- }
- kotlinOptions {
- jvmTarget = "1.8"
- }
- buildFeatures {
- buildConfig = true
- }
- }
- dependencies {
- implementation("androidx.webkit:webkit:1.6.1")
- implementation("androidx.appcompat:appcompat:1.6.1")
- implementation("com.google.android.material:material:1.8.0")
- }
|