Skip to content

Commit

Permalink
Merge branch 'master' into staging-client
Browse files Browse the repository at this point in the history
  • Loading branch information
rod-hynes committed Apr 25, 2022
2 parents 06917c9 + 3642b1e commit c9dc67d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
compileSdkVersion 30
useLibrary 'org.apache.http.legacy'


defaultConfig {
applicationId "ca.psiphon.tunneledwebview"
minSdkVersion 15
targetSdkVersion 29
targetSdkVersion 30
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Expand All @@ -25,16 +25,12 @@ android {
}

repositories {
flatDir {
dirs 'libs'
}
maven {
url "https://raw.github.com/Psiphon-Labs/psiphon-tunnel-core-Android-library/master"
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testImplementation 'junit:junit:4.12'
implementation 'androidx.appcompat:appcompat:1.0.0'
// always specify exact library version in your real project to avoid non-deterministic builds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private void loadWebView() {
public void run() {
WebViewProxySettings.setLocalProxy(
MainActivity.this, mLocalHttpProxyPort.get());
mWebView.loadUrl("https://freegeoip.app/");
mWebView.loadUrl("https://psip.me/");
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath 'com.android.tools.build:gradle:7.1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
2 changes: 1 addition & 1 deletion MobileLibrary/Android/make.bash
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fi

cd -
cd build-tmp/psi
echo -e "-keep class psi.** { *; }\n" >> proguard.txt
echo -e "-keep class psi.** { *; }\n-keep class ca.psiphon.** { *; }\n" >> proguard.txt
rm -f ../../ca.psiphon.aar
zip -r ../../ca.psiphon.aar ./
cd -
Expand Down

0 comments on commit c9dc67d

Please sign in to comment.