i2pd/android/build.gradle

75 lines
1.5 KiB
Groovy
Raw Normal View History

2017-12-10 13:46:13 +00:00
buildscript {
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'
}
}
dependencies {
compile 'com.android.support:support-compat:28.0.0'
}
2017-12-10 13:46:13 +00:00
android {
compileSdkVersion 28
buildToolsVersion "28.0.1"
defaultConfig {
applicationId "org.purplei2p.i2pd"
targetSdkVersion 28
minSdkVersion 14
versionCode 1
2018-11-09 02:03:13 +00:00
versionName "2.22.0"
ndk {
abiFilters 'armeabi-v7a'
abiFilters 'x86'
}
externalNativeBuild {
ndkBuild {
arguments "-j4"
}
}
}
2017-12-10 13:46:13 +00:00
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
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
}
}
2017-12-10 14:01:13 +00:00
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'
}
2017-12-10 14:01:13 +00:00
}
2017-12-10 13:46:13 +00:00
}
2018-02-17 15:55:30 +00:00