forked from aardouin/AndroidBuildNumberPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
executable file
·48 lines (37 loc) · 1.05 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.10"
}
}
apply plugin: "com.gradle.plugin-publish"
group = 'com.wopata.gradle'
version = '1.0.0'
apply plugin: 'groovy'
apply plugin: 'maven'
sourceCompatibility = 1.7
dependencies {
compile gradleApi()
testRuntime 'com.android.tools.build:gradle:1.2.3'
testCompile 'junit:junit:4.12'
}
repositories {
mavenCentral()
mavenLocal()
}
pluginBundle {
website = 'https://github.com/wopata/AndroidBuildNumberPlugin/'
vcsUrl = 'https://github.com/wopata/AndroidBuildNumberPlugin/'
description = 'Adds possibility to add build number to a provided version name in the form of "v1.0(buildNumber)" and build version code'
tags = ['android', 'version']
plugins {
androidBuildnumberPlugins {
id = 'com.wopata.gradle.AndroidBuildNumberPlugin'
displayName = 'Android build number plugin'
}
}
}