- 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
41 lignes
1015 B
Kotlin
41 lignes
1015 B
Kotlin
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "fr.gastinel.connect.wireguard"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
minSdk = 24
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.core:core-ktx:1.13.1")
|
|
implementation("androidx.appcompat:appcompat:1.7.1")
|
|
implementation(project(":tauri-android"))
|
|
|
|
// Composant officiel WireGuard Android (Apache-2.0, Jason A. Donenfeld / WireGuard LLC)
|
|
implementation("com.wireguard.android:tunnel:1.0.20260102")
|
|
}
|