-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
82 lines (68 loc) · 2.14 KB
/
build.gradle
File metadata and controls
82 lines (68 loc) · 2.14 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'signing'
}
repositories {
mavenCentral()
}
dependencies {
api 'org.jspecify:jspecify:1.0.0'
testImplementation platform('org.junit:junit-bom:6.1.0-M1')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
java {
withSourcesJar()
withJavadocJar()
}
test {
useJUnitPlatform()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'dev.piggle'
artifactId = 'FilterMap'
version = project.version.toString()
from components.java
pom {
name = artifactId
description = project.description
url = 'https://github.com/Pigalala/FilterMap'
scm {
connection = 'scm:git:git://github.com/Pigalala/FilterMap.git'
developerConnection = 'scm:git:git@github.com:Pigalala/FilterMap.git'
url = 'https://github.com/Pigalala/FilterMap'
tag = System.getenv('TAG_VERSION') == null ? 'HEAD' : System.getenv('TAG_VERSION')
}
ciManagement {
system = 'Github Actions'
url = 'https://github.com/Pigalala/FilterMap/actions'
}
issueManagement {
system = 'GitHub'
url = 'https://github.com/Pigalala/FilterMap/issues'
}
developers {
developer {
id = 'pigalala'
name = 'Piggle'
email = 'w8888mc@gmail.com'
}
}
licenses {
license {
name = 'MIT'
url = 'https://github.com/Pigalala/FilterMap/blob/master/LICENSE'
}
}
}
}
}
}
signing {
useInMemoryPgpKeys System.getenv("SIGNING_KEY"), System.getenv("SIGNING_PASSWORD")
sign publishing.publications.maven
}