- Greffon Tauri Kotlin base sur le composant officiel com.wireguard.android:tunnel (Apache-2.0) - Support du VpnService Android avec GoBackend - Interface web conformement a la charte Gastinel (theme clair, Inter local, 0 coin arrondi) - Fichier LICENCES-TIERCES.md avec mentions legales de marque WireGuard - Sous-reseau de test dedie 10.250.0.0/24
49 lignes
1.4 KiB
Kotlin
49 lignes
1.4 KiB
Kotlin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "app.tauri"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
minSdk = 21
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget = JvmTarget.JVM_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation("androidx.core:core-ktx:1.7.0")
|
|
implementation("androidx.appcompat:appcompat:1.6.0")
|
|
implementation("com.google.android.material:material:1.7.0")
|
|
implementation("com.fasterxml.jackson.core:jackson-databind:2.15.3")
|
|
// (de)serializes org.json values (JSObject, JSArray) as JSON objects and arrays
|
|
// instead of as beans; org.json itself is part of the Android platform
|
|
implementation("com.fasterxml.jackson.datatype:jackson-datatype-json-org:2.15.3") {
|
|
exclude(group = "org.json", module = "json")
|
|
}
|
|
testImplementation("junit:junit:4.13.2")
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.5")
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
|
|
}
|