-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (39 loc) · 1.17 KB
/
build.gradle
File metadata and controls
45 lines (39 loc) · 1.17 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
plugins {
id 'com.android.library'
id 'kotlin-android'
}
android {
compileSdkVersion 33
defaultConfig {
minSdkVersion 19
targetSdkVersion 33
// VERSION_NAME no longer available as of 4.1
// https://issuetracker.google.com/issues/158695880
buildConfigField 'String', 'VERSION_NAME', "\"${getTag()}\""
consumerProguardFiles 'proguard-project.txt'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
testOptions {
unitTests.returnDefaultValues = true // this prevents "not mocked" error
}
namespace 'com.github.mikephil.charting'
}
dependencies {
implementation 'androidx.annotation:annotation:1.5.0'
testImplementation 'junit:junit:4.13.2'
}
//group = "info.mxtracks"
//version = "${getTag()}-SNAPSHOT"
//println "Build version $version"
ext {
PUBLISH_GROUP_ID = "info.mxtracks"
PUBLISH_VERSION = getTag()+"-t3"
PUBLISH_ARTIFACT_ID = 'chart'
}
println "Build version $PUBLISH_VERSION"
apply from: "${rootProject.projectDir}/publish-mavencentral.gradle"