forked from CellularPrivacy/Android-IMSI-Catcher-Detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (32 loc) · 1.16 KB
/
build.gradle
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'io.freefair:gradle-plugins:2.0.0-beta5'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
println "TAG LIST START"
println 'git --version'.execute([], project.rootDir).text
println 'git tag --list'.execute([], project.rootDir).text
println "GIT FETCH"
println 'git fetch --tags -v'.execute([], project.rootDir).text
println 'GIT DESCRIBE'
println 'git describe --abbrev=0 --tags --match v*'.execute([], project.rootDir).text
println 'GIT DESCRIBE 2'
println 'git describe --abbrev=0 --tags'.execute([], project.rootDir).text
println 'GIT TAG AT HEAD'
println 'git tag --points-at HEAD -l v*'.execute([], project.rootDir).text
println "TAG LIST END"
apply plugin: 'io.freefair.git-version'
gitTagPrefix = 'v'
}