-
Notifications
You must be signed in to change notification settings - Fork 29
/
build.gradle
54 lines (45 loc) · 1.36 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
plugins {
id 'com.gradle.plugin-publish' version '0.15.0'
id 'java-gradle-plugin'
id 'net.researchgate.release' version '2.6.0'
}
apply plugin: 'groovy'
apply plugin: 'com.gradle.plugin-publish'
group = 'com.ullink.gradle'
dependencies {
implementation 'commons-io:commons-io:2.5'
testImplementation 'xmlunit:xmlunit:1.6'
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
}
pluginBundle {
website = 'https://github.com/Itiviti/gradle-nuget-plugin'
vcsUrl = 'https://github.com/Itiviti/gradle-nuget-plugin'
plugins {
nugetBase {
displayName = 'Gradle Nuget Plugin Base'
description = 'Base plugin without creating tasks'
tags = ['nuget']
}
nuget {
displayName = 'Gradle Nuget Plugin'
description = 'Gradle plugin for NuGet, to package, upload artifacts and restore packages.'
tags = ['nuget']
}
}
mavenCoordinates {
groupId = 'com.ullink.gradle'
}
}
gradlePlugin {
plugins {
nugetBase {
id = 'com.ullink.nuget-base'
implementationClass = 'com.ullink.NuGetBasePlugin'
}
nuget {
id = 'com.ullink.nuget'
implementationClass = 'com.ullink.NuGetPlugin'
}
}
}
project.tasks.afterReleaseBuild.dependsOn project.tasks.publishPlugins