i2pd/android/build.gradle

71 lines
1.5 KiB
Groovy
Raw Normal View History

2017-12-10 16:46:13 +03:00
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
}
2017-12-10 16:46:13 +03:00
}
apply plugin: 'com.android.application'
2018-02-07 22:50:15 +03:00
repositories {
jcenter()
maven {
url 'https://maven.google.com'
}
}
2017-12-10 16:46:13 +03:00
android {
compileSdkVersion 28
buildToolsVersion "28.0.1"
defaultConfig {
applicationId "org.purplei2p.i2pd"
targetSdkVersion 28
minSdkVersion 14
versionCode 1
2018-08-23 17:24:44 +03:00
versionName "2.20.0"
ndk {
abiFilters 'armeabi-v7a'
abiFilters 'x86'
}
externalNativeBuild {
ndkBuild {
arguments "-j4"
}
}
}
2017-12-10 16:46:13 +03:00
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
jniLibs.srcDirs = ['libs']
2018-06-27 23:20:02 +03:00
assets.srcDirs = ['assets']
2017-12-10 16:46:13 +03:00
}
}
2017-12-10 17:01:13 +03: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 17:01:13 +03:00
}
2017-12-10 16:46:13 +03:00
}
2018-02-17 18:55:30 +03:00