mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
1.5 KiB
74 lines
1.5 KiB
buildscript { |
|
repositories { |
|
mavenCentral() |
|
jcenter() |
|
} |
|
dependencies { |
|
classpath 'com.android.tools.build:gradle:2.3.3' |
|
} |
|
} |
|
|
|
apply plugin: 'com.android.application' |
|
|
|
repositories { |
|
jcenter() |
|
maven { |
|
url 'https://maven.google.com' |
|
} |
|
} |
|
|
|
dependencies { |
|
compile 'com.android.support:support-compat:28.0.0' |
|
} |
|
|
|
android { |
|
compileSdkVersion 28 |
|
buildToolsVersion "28.0.1" |
|
defaultConfig { |
|
applicationId "org.purplei2p.i2pd" |
|
targetSdkVersion 28 |
|
minSdkVersion 14 |
|
versionCode 1 |
|
versionName "2.22.0" |
|
ndk { |
|
abiFilters 'armeabi-v7a' |
|
abiFilters 'x86' |
|
} |
|
externalNativeBuild { |
|
ndkBuild { |
|
arguments "-j4" |
|
} |
|
} |
|
} |
|
sourceSets { |
|
main { |
|
manifest.srcFile 'AndroidManifest.xml' |
|
java.srcDirs = ['src'] |
|
res.srcDirs = ['res'] |
|
jniLibs.srcDirs = ['libs'] |
|
assets.srcDirs = ['assets'] |
|
} |
|
} |
|
signingConfigs { |
|
orignal { |
|
storeFile file("i2pdapk.jks") |
|
storePassword "android" |
|
keyAlias "i2pdapk" |
|
keyPassword "android" |
|
} |
|
} |
|
buildTypes { |
|
release { |
|
minifyEnabled true |
|
signingConfig signingConfigs.orignal |
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' |
|
} |
|
} |
|
externalNativeBuild { |
|
ndkBuild { |
|
path './jni/Android.mk' |
|
} |
|
} |
|
} |
|
|
|
|
|
|