-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (43 loc) · 977 Bytes
/
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
plugins {
id 'groovy'
id 'java-gradle-plugin'
id 'maven-publish'
}
group 'dev.enderpalm'
version '1.2'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains:annotations:23.1.0'
testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
}
gradlePlugin {
plugins {
pipette {
id = "dev.enderpalm.pipette"
displayName = 'Pipette'
implementationClass = 'dev.enderpalm.pipette.PipettePlugin'
}
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/enderpalm/Pipette")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
test {
useJUnitPlatform()
}