Browse Source

Moving to net cipher 2.0.0-alpha away from submodule

master
anthony restaino 7 years ago
parent
commit
14ef8c7077
  1. 4
      .gitmodules
  2. 7
      app/build.gradle
  3. 2
      app/src/main/java/acr/browser/lightning/utils/ProxyUtils.java
  4. 2
      settings.gradle

4
.gitmodules vendored

@ -1,7 +1,3 @@ @@ -1,7 +1,3 @@
[submodule "external/netcipher"]
path = external/netcipher
url = https://github.com/guardianproject/NetCipher.git
branch = master
[submodule "Bonsai"]
path = Bonsai
url = https://github.com/anthonycr/Bonsai.git

7
app/build.gradle

@ -92,10 +92,9 @@ dependencies { @@ -92,10 +92,9 @@ dependencies {
// proxy support
compile 'net.i2p.android:client:0.8'
// Use the following code to update the libnetcipher submodule
// git submodule foreach git reset --hard
// git submodule update --remote
compile project(':libnetcipher')
// tor proxy
compile 'info.guardianproject.netcipher:netcipher:2.0.0-alpha1'
compile 'info.guardianproject.netcipher:netcipher-webkit:2.0.0-alpha1'
compile project(':bonsai')

2
app/src/main/java/acr/browser/lightning/utils/ProxyUtils.java

@ -20,7 +20,7 @@ import acr.browser.lightning.constant.Constants; @@ -20,7 +20,7 @@ import acr.browser.lightning.constant.Constants;
import acr.browser.lightning.dialog.BrowserDialog;
import acr.browser.lightning.preference.PreferenceManager;
import info.guardianproject.netcipher.proxy.OrbotHelper;
import info.guardianproject.netcipher.web.WebkitProxy;
import info.guardianproject.netcipher.webkit.WebkitProxy;
@Singleton
public class ProxyUtils {

2
settings.gradle

@ -1,8 +1,6 @@ @@ -1,8 +1,6 @@
include ':app'
include ':libnetcipher'
include ':bonsai'
include ':animated-progress-bar'
project(':libnetcipher').projectDir = new File(rootProject.projectDir, 'external/netcipher/libnetcipher')
project(':bonsai').projectDir = new File(rootProject.projectDir, 'Bonsai/library')
project(':animated-progress-bar').projectDir = new File(rootProject.projectDir, 'AnimatedProgressBar/library')
Loading…
Cancel
Save