forked from gladed/gradle-android-git-version
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (41 loc) · 1.17 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
37
38
39
40
41
42
43
44
45
46
47
48
// Apply the publishing plugin
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2'
}
}
dependencies {
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.5'
}
}
apply plugin: 'com.gradle.plugin-publish'
apply plugin: 'groovy'
apply plugin: 'maven'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
dependencies {
compile gradleApi()
compile localGroovy()
compile 'org.eclipse.jgit:org.eclipse.jgit:4.1.1.201511131810-r'
}
repositories {
jcenter()
}
task wrapper(type: Wrapper) {
gradleVersion = '2.4'
}
version = '0.2.21' // <-----UPDATE THIS VERSION NUMBER MANUALLY FOR EACH RELEASE
group = 'com.gladed.gradle.androidgitversion'
pluginBundle {
website = 'https://github.com/gladed/gradle-android-git-version'
vcsUrl = 'https://github.com/gladed/gradle-android-git-version'
description = 'Automatically extract Android-friendly version names and codes from git tags'
tags = [ 'android', 'git', 'version' ]
plugins {
androidGitVersion {
id = 'com.gladed.androidgitversion'
displayName = 'Android Git Version plugin'
}
}
}