-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
93 lines (78 loc) · 2.33 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
plugins {
id 'java'
id 'maven-publish'
id 'signing'
}
group = "io.github.proto4j"
archivesBaseName = "proto4j-xtral"
version = "0.0.1"
repositories {
mavenCentral()
}
dependencies {
// testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
// testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
test {
// useJUnitPlatform()
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
repositories {
maven {
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = ossrhUsername
password = ossrhPassword
}
}
// maven {
// name = "GitHubPackages"
// url = uri("https://maven.pkg.github.com/proto4j/proto4j-xtral")
// credentials {
// username = project.findProperty("p4j.user")
// password = project.findProperty("p4j.xtral.key")
// }
// }
}
publications {
mavenJava(MavenPublication) {
from components.java
artifactId = 'proto4j-xtral'
groupId = 'io.github.proto4j'
version = '0.0.1'
pom {
name = 'Proto4j-XTral'
packaging = 'jar'
artifactId = 'proto4j-xtral'
groupId = 'io.github.proto4j'
description = 'Client-server infrastructure controlled by Java-Annotations.'
url = 'https://github.com/Proto4j/proto4j-xtral'
scm {
connection = 'scm:git:https://github.com/Proto4j/proto4j-xtral'
developerConnection ='scm:git:https://github.com/Proto4j/proto4j-xtral'
url = 'https://github.com/Proto4j/proto4j-xtral'
}
licenses {
license {
name = 'MIT'
url = 'https://spdx.org/licenses/MIT.html'
}
}
developers {
developer {
id = 'Proto4j-Group'
name = 'Proto4j'
email = 'not@supported.com'
}
}
}
}
}
}
signing {
sign publishing.publications.mavenJava
}