-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (37 loc) · 969 Bytes
/
build.gradle
File metadata and controls
45 lines (37 loc) · 969 Bytes
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
group = "io.chncs23"
description = 'Android library for show required label with star at end of text.'
version = { ->
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
}
return stdout.toString().trim()
}.call()
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
JAVA_VERSION = JavaVersion.VERSION_1_7
ANDROID_MIN_SDK = 19
ANDROID_TARGET_SDK = 25
ANDROID_BUILD_TOOLS = "25.0.0"
ANDROID_SUPPORT_VERSION = "25.0.2"
githubRepo = 'chncs23/RequiredFieldLabel'
}