build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. useLibrary 'org.apache.http.legacy'
  5. defaultConfig {
  6. applicationId "ca.psiphon.tunneledwebview"
  7. minSdkVersion 15
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility = '1.8'
  20. targetCompatibility = '1.8'
  21. }
  22. }
  23. repositories {
  24. flatDir {
  25. dirs 'libs'
  26. }
  27. maven {
  28. url "https://raw.github.com/Psiphon-Labs/psiphon-tunnel-core-Android-library/master"
  29. }
  30. }
  31. dependencies {
  32. implementation fileTree(dir: 'libs', include: ['*.jar'])
  33. testImplementation 'junit:junit:4.12'
  34. implementation 'com.android.support:appcompat-v7:26.1.0'
  35. // always specify exact library version in your real project to avoid non-deterministic builds
  36. implementation 'ca.psiphon:psiphontunnel:2.+'
  37. }