-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
58 lines (47 loc) · 1.16 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
plugins {
id 'java-gradle-plugin'
id 'groovy'
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.9.10'
id 'net.minecrell.licenser' version '0.4.1'
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
group = 'org.cadixdev.gradle'
version = '0.10.0-SNAPSHOT'
description = 'A Gradle plugin to manage patches for Git repositories'
dependencies {
implementation gradleApi()
}
license {
include '**/*.java'
include '**/*.groovy'
}
task sourceJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}
task groovydocJar(type: Jar, dependsOn: groovydoc) {
archiveClassifier = 'groovydoc'
from groovydoc.destinationDir
}
gradlePlugin {
plugins {
gitpatcher {
id = 'org.cadixdev.gitpatcher'
implementationClass = 'org.cadixdev.gradle.gitpatcher.GitPatcher'
}
}
}
pluginBundle {
website = 'https://github.com/CadixDev/gitpatcher'
vcsUrl = website
description = project.description
tags = ['git']
plugins {
gitpatcherPlugin {
id = 'org.cadixdev.gitpatcher'
displayName = 'gitpatcher'
}
}
}