habitica-android/seeds-sdk/build.gradle
maiatoday 3181ffe559 New versions and changes so I can use studio 3
Build file updates and fixes. New versions so this project can be opened in studio preview. This will allow us to use the new profiler to find the memory leaks.
2017-11-17 14:11:35 +01:00

71 lines
1.9 KiB
Groovy
Executable file

apply plugin: 'com.android.library'
apply plugin: 'com.novoda.bintray-release'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.5.0'
}
}
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
minSdkVersion 14
versionCode 1
versionName "1.0"
testInstrumentationRunner 'com.playseeds.android.sdk.test.InstrumentationTestRunner'
testHandleProfiling true
testFunctionalTest true
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled = true
}
}
dexOptions {
javaMaxHeapSize "4g"
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'org.glassfish:javax.json:1.0.4'
implementation 'com.google.android.gms:play-services:10.2.6'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.loopj.android:android-async-http:1.4.9'
implementation 'org.solovyev.android:checkout:0.9.3@aar'
androidTestImplementation 'org.mockito:mockito-core:2.8.9'
androidTestImplementation 'com.google.dexmaker:dexmaker:1.2'
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2'
testImplementation 'junit:junit:4.12'
testImplementation "org.robolectric:robolectric:3.2"
testImplementation "org.robolectric:shadows-multidex:3.1"
}
publish {
userOrg = 'seedsinc'
groupId = 'com.playseeds'
artifactId = 'android-sdk'
version = '0.4.2'
description = 'Android SDK for Seeds mobile analytics'
website = 'https://github.com/therealseeds/seeds-sdk-android'
}