-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (51 loc) · 1.56 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
59
60
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id 'java'
id "com.vanniktech.maven.publish" version "0.28.0"
}
group = 'io.github.kshired'
version = '0.1.1'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.ahocorasick:ahocorasick:0.6.3'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}
java {
sourceCompatibility = JavaVersion.VERSION_11
}
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
coordinates(group, "ban-word-validator", version)
pom {
name = "ban-word-validator"
description = "Simple Java ban word validation library"
inceptionYear = "2024"
url = "https://github.com/kshired/ban-word-validator"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "https://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = "kshired"
name = "kshired"
url = "https://github.com/kshired"
}
}
scm {
url = "https://github.com/kshired/ban-word-validator"
connection = "scm:git:git://github.com/kshired/ban-word-validator.git"
developerConnection = "scm:git:ssh://[email protected]/kshired/ban-word-validator.git"
}
}
signAllPublications()
}