-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (44 loc) · 1.71 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
plugins {
// Apply the Java Gradle plugin development plugin to add support for developing Gradle plugins
id 'java-gradle-plugin'
// Alternatively apply other plugins, e.g. the kotlin plugin for a plugin written in Kotlin
// or the groovy plugin if the plugin uses Groovy
id 'java'
// Apply the Plugin Publish Plugin to make plugin publication possible
id "com.gradle.plugin-publish" version "0.18.0"
// Apply the Maven Publish Plugin to have it generate the publication metadata
id 'maven-publish'
}
group 'io.github.balao7'
version '1.0.0'
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
compileOnly 'com.gradle:gradle-enterprise-gradle-plugin:3.3.4'
implementation gradleApi()
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
// Use java-gradle-plugin to generate plugin descriptors and specify plugin ids
gradlePlugin {
plugins {
constraintsPlugin {
id = 'io.github.balao7.jetstack.constraints-plugin'
implementationClass = 'jetstack.constraints.plugin.JetstackConstraintsPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/balao7/jetstack-constraints-plugin'
vcsUrl = 'https://github.com/balao7/jetstack-constraints-plugin'
description = 'Constraints gradle plugin for enabling and auto configure project settings and sub-modules.'
plugins {
constraintsPlugin {
displayName = 'Jetstack Constraints Plugin'
description = 'Constraints gradle plugin for enabling and auto configure project settings and sub-modules.'
tags = ['jetstack', 'plugin']
}
}
}