-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
59 lines (52 loc) · 1.37 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
plugins {
id 'java-gradle-plugin'
id 'groovy'
id 'com.gradle.plugin-publish' version '0.10.0'
id 'idea'
id 'maven-publish'
}
group 'ba.klika'
version '1.7'
// pugin metadata configuration
pluginBundle {
website = 'https://github.com/klikaba/gradle-appcenter'
vcsUrl = 'https://github.com/klikaba/gradle-appcenter'
tags = ['appcenter', 'download', 'mobile', 'apk', 'app']
}
gradlePlugin {
plugins {
appcenterPlugin {
id = 'ba.klika.appcenter'
displayName = 'AppCenter'
description = 'Plugin for downloading app builds from AppCenter'
implementationClass = 'ba.klika.AppcenterPlugin'
}
}
}
//to publish to maven local use publishToMavenLocal
publishing {
publications {
pluginPublication (MavenPublication) {
from components.java
groupId project.group
artifactId "ba.klika.appcenter.gradle.plugin"
version project.version
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile gradleApi()
testImplementation gradleTestKit()
testImplementation 'junit:junit:4.12'
// compile 'org.spockframework:spock-core:1.3-groovy-2.4'
compile 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}