zcash-android-wallet-sdk/build.gradle

75 lines
1.9 KiB
Groovy
Raw Normal View History

buildscript {
2018-11-20 23:04:53 -08:00
ext.buildConfig = [
'compileSdkVersion': 28,
'minSdkVersion': 16,
'targetSdkVersion': 28
]
ext.versions = [
'kotlin': '1.3.0'
]
repositories {
google()
jcenter()
}
dependencies {
2018-11-20 23:04:53 -08:00
classpath 'com.android.tools.build:gradle:3.4.0-alpha04'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "com.github.ben-manes:gradle-versions-plugin:0.20.0"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
2018-11-20 23:04:53 -08:00
apply from: 'custom-tasks.gradle'
apply plugin: 'com.android.library'
apply plugin: "kotlin-android-extensions"
apply plugin: "kotlin-android"
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.github.dcendents.android-maven'
group = 'cash.z.android.wallet'
2018-11-27 20:27:25 -08:00
version = '1.1.2'
2018-11-20 23:04:53 -08:00
repositories {
google()
2018-11-20 23:04:53 -08:00
jcenter()
}
android {
2018-11-20 23:04:53 -08:00
compileSdkVersion 28
defaultConfig {
2018-11-20 23:04:53 -08:00
minSdkVersion 16
targetSdkVersion 28
2018-11-27 20:27:25 -08:00
versionCode = 1_01_02
versionName = "1.1.2"
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
2018-11-20 23:04:53 -08:00
release {
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
sourceSets {
main {
java {
srcDirs "build/generated/source/wire"
2018-11-20 23:04:53 -08:00
}
}
}
}
dependencies {
2018-11-20 23:04:53 -08:00
api "com.squareup.wire:wire-runtime:2.2.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
implementation "com.android.support:appcompat-v7:28.0.0"
testImplementation "junit:junit:4.12"
androidTestImplementation "com.android.support.test:runner:1.0.2"
androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.2"
}
2018-11-20 23:04:53 -08:00
preBuild.dependsOn generateProtobufClasses
preBuild.dependsOn copyAllJniLibs