-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (45 loc) · 1.09 KB
/
Copy pathbuild.gradle
File metadata and controls
53 lines (45 loc) · 1.09 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
plugins {
id 'java-library'
id "com.vanniktech.maven.publish" version "0.34.0"
}
version = '1.0.2'
group = 'dev.ingon'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'junit:junit:4.12'
}
mavenPublishing {
coordinates("dev.ingon", "json-zero", "1.0.2")
pom {
name = "json-zero"
description = "Parse json with zero allocations"
inceptionYear = "2020"
url = "https://github.com/ingon/json-zero/"
licenses {
license {
name = "MIT License"
url = "http://www.opensource.org/licenses/mit-license.php"
}
}
developers {
developer {
id = "ingon"
name = "Nikolay Petrov"
url = "https://github.com/ingon/"
}
}
scm {
url = "https://github.com/ingon/json-zero/"
connection = "scm:git:git://github.com/ingon/json-zero.git"
developerConnection = "scm:git:ssh://git@github.com/ingon/json-zero.git"
}
}
publishToMavenCentral()
signAllPublications()
}