plugins { id("com.android.application") id("org.jetbrains.kotlin.android") } android { namespace = "com.example.risksiteapp" compileSdk = 34 defaultConfig { applicationId = "com.example.risksiteapp" minSdk = 24 targetSdk = 34 versionCode = 1 versionName = "1.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { isMinifyEnabled = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = "17" } } val copyNamedDebugApk by tasks.registering(Copy::class) { dependsOn("assembleDebug") from(layout.buildDirectory.file("outputs/apk/debug/app-debug.apk")) into(layout.buildDirectory.dir("outputs/apk/named")) rename { "트레이절단계산기.apk" } } afterEvaluate { tasks.named("assembleDebug") { finalizedBy(copyNamedDebugApk) } } dependencies { implementation("androidx.activity:activity-ktx:1.9.1") implementation("androidx.core:core-ktx:1.13.1") implementation("androidx.appcompat:appcompat:1.7.0") implementation("com.google.android.material:material:1.12.0") implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.2.1") androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") }