Skip to content

Commit

Permalink
Bump com.wireguard.android:tunnel to 20230706
Browse files Browse the repository at this point in the history
  • Loading branch information
tadaskay committed Jan 23, 2024
1 parent 4680032 commit 5a5fe39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
15 changes: 8 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ group 'network.mysterium.wireguard_dart'
version '1.0-SNAPSHOT'

buildscript {
ext.kotlin_version = '1.8.10'
ext.kotlin_version = '1.8.20'
ext.wireguard_tunnel_version = '1.0.20230706'
repositories {
google()
mavenCentral()
Expand All @@ -28,12 +29,12 @@ android {
compileSdkVersion 31

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

sourceSets {
Expand All @@ -49,12 +50,12 @@ android {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.wireguard.android:tunnel:1.0.20230427'
implementation "com.wireguard.android:tunnel:$wireguard_tunnel_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.0'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.0"
implementation 'com.beust:klaxon:5.5'
implementation 'androidx.appcompat:appcompat:1.6.1'

/// to run wireguard on Android 25 or lower
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.3"
}
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.4"
}
8 changes: 4 additions & 4 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
ndkVersion "25.1.8937393"

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

sourceSets {
Expand Down

0 comments on commit 5a5fe39

Please sign in to comment.