2017-12-10 13:46:13 +00:00
|
|
|
buildscript {
|
2018-02-08 04:54:25 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.android.tools.build:gradle:2.3.3'
|
|
|
|
}
|
2017-12-10 13:46:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
2018-02-07 19:50:15 +00:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'https://maven.google.com'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-25 00:37:34 +00:00
|
|
|
dependencies {
|
|
|
|
compile 'com.android.support:support-compat:28.0.0'
|
|
|
|
}
|
|
|
|
|
2017-12-10 13:46:13 +00:00
|
|
|
android {
|
2018-07-20 21:02:54 +00:00
|
|
|
compileSdkVersion 28
|
|
|
|
buildToolsVersion "28.0.1"
|
2018-02-08 04:54:25 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.purplei2p.i2pd"
|
2018-07-20 21:02:54 +00:00
|
|
|
targetSdkVersion 28
|
2018-02-08 04:54:25 +00:00
|
|
|
minSdkVersion 14
|
|
|
|
versionCode 1
|
2018-11-09 02:03:13 +00:00
|
|
|
versionName "2.22.0"
|
2018-02-08 04:54:25 +00:00
|
|
|
ndk {
|
|
|
|
abiFilters 'armeabi-v7a'
|
2018-07-20 21:02:54 +00:00
|
|
|
abiFilters 'x86'
|
|
|
|
}
|
|
|
|
externalNativeBuild {
|
|
|
|
ndkBuild {
|
|
|
|
arguments "-j4"
|
|
|
|
}
|
2018-01-22 17:59:34 +00:00
|
|
|
}
|
2018-02-08 04:54:25 +00:00
|
|
|
}
|
2017-12-10 13:46:13 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['src']
|
2018-02-08 04:54:25 +00:00
|
|
|
res.srcDirs = ['res']
|
|
|
|
jniLibs.srcDirs = ['libs']
|
2018-06-27 20:20:02 +00:00
|
|
|
assets.srcDirs = ['assets']
|
2017-12-10 13:46:13 +00:00
|
|
|
}
|
2018-02-08 04:54:25 +00:00
|
|
|
}
|
2017-12-10 14:01:13 +00:00
|
|
|
signingConfigs {
|
|
|
|
orignal {
|
|
|
|
storeFile file("i2pdapk.jks")
|
|
|
|
storePassword "android"
|
|
|
|
keyAlias "i2pdapk"
|
|
|
|
keyPassword "android"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
2018-02-08 04:54:25 +00:00
|
|
|
release {
|
2018-05-28 16:41:23 +00:00
|
|
|
minifyEnabled true
|
2018-02-08 04:54:25 +00:00
|
|
|
signingConfig signingConfigs.orignal
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
externalNativeBuild {
|
|
|
|
ndkBuild {
|
|
|
|
path './jni/Android.mk'
|
|
|
|
}
|
2017-12-10 14:01:13 +00:00
|
|
|
}
|
2017-12-10 13:46:13 +00:00
|
|
|
}
|
|
|
|
|
2018-02-17 15:55:30 +00:00
|
|
|
|