-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
66 lines (56 loc) · 1.54 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// First, apply the publishing plugin
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.publish:plugin-publish-plugin:0.12.0"
}
}
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: "com.gradle.plugin-publish"
group 'ru.handh'
version '1.1.13'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile gradleApi()
compile localGroovy()
compile 'org.codehaus.groovy:groovy-all:2.4.7'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
publishing {
repositories {
maven {
// change to point to your repo, e.g. http://my.org/repo
//url "repo"
url "/Users/Igor/Downloads/repo"
}
}
}
// The configuration example below shows the minimum required properties
// configured to publish your plugin to the plugin portal
pluginBundle {
website = 'https://github.com/Heads-and-Hands/version-maker-android'
vcsUrl = 'https://github.com/Heads-and-Hands/version-maker-android'
description = 'Gradle plugin that generates version name, code and launcher icons labeles for android application'
tags = ['android', 'versionname', 'versioncode']
plugins {
versionMakerPlugin {
id = 'ru.handh.versionmaker'
displayName = 'Gradle versionmaker plugin for android'
}
}
}