mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
cc5a2a972b
Co-authored-by: solokot <solokot@gmail.com> Co-authored-by: lateweb <weblate@techkoala.net> Co-authored-by: Matthaiks <kitynska@gmail.com> Co-authored-by: Kachelkaiser <kachelkaiser@outlook.com> Co-authored-by: CyanWolf <hydemr@pm.me> Co-authored-by: Henrik Sozzi <henrik_sozzi@hotmail.com> Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org> Co-authored-by: x86_64-pc-linux-gnu <x86_64-pc-linux-gnu@proton.me> Co-authored-by: mak7im01 <mak7im02@gmail.com> Co-authored-by: heykanspor <meingithub@heykan.de> Co-authored-by: Jan-Pascal van Best <janpascal@vanbest.org> Co-authored-by: Faisal Gull <mail.faisalrehman.345@gmail.com> Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com> Co-authored-by: catelixor <catelixor+weblate@proton.me> Co-authored-by: Deleted User <noreply+48943@weblate.org> Co-authored-by: kometchtech <kometch@gmail.com>
48 lines
1.3 KiB
Kotlin
48 lines
1.3 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.androidLibrary)
|
|
alias(libs.plugins.kotlin.android)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.zaneschepke.networkmonitor"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
minSdk = 26
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro",
|
|
)
|
|
}
|
|
create(Constants.PRERELEASE) { initWith(getByName(Constants.RELEASE)) }
|
|
|
|
create(Constants.NIGHTLY) { initWith(getByName(Constants.RELEASE)) }
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions { jvmTarget = Constants.JVM_TARGET }
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.androidx.appcompat)
|
|
implementation(libs.material)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.androidx.junit)
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
|
|
implementation(libs.tunnel)
|
|
|
|
implementation(libs.timber)
|
|
}
|