Skip to content

Commit

Permalink
gradle update and added context
Browse files Browse the repository at this point in the history
  • Loading branch information
bragelbytes committed Jan 25, 2024
1 parent 671f211 commit db0629d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ plugins {
}

android {
compileSdk 34
compileSdk 33

defaultConfig {
namespace = "org.operatorfoundation.moonbounceAndroidKotlin"
applicationId "org.operatorfoundation.moonbounceAndroidKotlin"
minSdk 29
minSdk 26
targetSdk 33
versionCode 1
versionName "1.0"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins{
id 'com.android.library' version '8.1.2' apply false
id 'com.android.library' version '8.2.1' apply false
id 'org.jetbrains.kotlin.android' version '1.9.0' apply false
}

Expand Down
6 changes: 3 additions & 3 deletions moonbounceVPNService/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

android {
compileSdk 34
compileSdk 33
namespace = "org.operatorfoundation.moonbouncevpnservice"

defaultConfig {
Expand Down Expand Up @@ -33,8 +33,8 @@ android {

dependencies {
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'com.github.OperatorFoundation:TransmissionAndroid:1.3.2'
implementation 'com.github.OperatorFoundation:ShapeshifterAndroidKotlin:4.1.4'
implementation 'com.github.OperatorFoundation:transmissionandroid:1.3.3'
implementation 'com.github.OperatorFoundation:ShapeshifterAndroidKotlin:5.0.4'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ class MBAKVpnService : VpnService()
{
val serverAddress = "$transportServerIP:$transportServerPort"
val config = ShadowConfig(transportServerPublicKey!!, "Darkstar", serverAddress)
this.shadowConnection = ShadowConnection(config, Logger.getLogger("MoonbounceShadowLogger"), this.transmissionConnection!!)
val context = applicationContext
this.shadowConnection = ShadowConnection(config, context, Logger.getLogger("MoonbounceShadowLogger"), this.transmissionConnection!!)
}

// println("🌙 MBAKVpnService: starting ServerToVPN loop")
Expand Down

0 comments on commit db0629d

Please sign in to comment.