forked from breadwallet/breadwallet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
80 lines (63 loc) · 1.83 KB
/
Copy pathbuild.gradle
File metadata and controls
80 lines (63 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
apply plugin: 'com.android.library'
apply plugin: 'digital.wup.android-maven-publish'
android {
compileSdkVersion androidConfig.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
versionCode 1
versionName version
minSdkVersion androidConfig.minSdkVersion
targetSdkVersion androidConfig.targetSdkVersion
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild.cmake.arguments "-DANDROID_STL=none", "-DANDROID_TOOLCHAIN=clang"
ndk.abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
jniDebuggable true
minifyEnabled false
}
}
lintOptions {
quiet false
explainIssues true
abortOnError true
ignoreWarnings false
checkReleaseBuilds false
}
sourceSets {
main {
java {
srcDirs = [project(':corenative').javaMainSrcDir]
}
}
androidTest {
java {
srcDirs = [project(':corenative').javaTestSrcDir]
}
}
}
externalNativeBuild.cmake.path project(':corenative').cmakeCMakeListsFile
}
dependencies {
api deps.jnaAndroid
implementation deps.guavaAndroid
testImplementation deps.junit
androidTestImplementation deps.androidTestRunner
androidTestImplementation deps.androidTestEspresso
}
publishing {
publications {
mavenAar(MavenPublication) {
from components.android
}
}
}