-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (64 loc) · 1.87 KB
/
Copy pathbuild.gradle
File metadata and controls
77 lines (64 loc) · 1.87 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
plugins {
id 'java-library'
id 'signing'
id 'maven-publish'
id('io.github.gradle-nexus.publish-plugin') version '1.3.0'
}
version = "0.3.39"
repositories {
mavenCentral()
mavenLocal()
}
java {
sourceCompatibility = JavaVersion.VERSION_1_6
targetCompatibility = JavaVersion.VERSION_1_6
withJavadocJar()
withSourcesJar()
}
base {
group = 'cc.rabbitcontrol'
archivesName = "rcp"
}
dependencies {
implementation ('io.kaitai:kaitai-struct-runtime:0.10')
implementation ('io.netty:netty-all:4.1.106.Final')
testImplementation ('junit:junit:4.13.2')
}
nexusPublishing {
repositories {
sonatype ()
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from(components.java)
pom {
name = group + ":" + archivesBaseName
description = 'RabbitControl is a binary data-format definition to describe data values and ui-elements.'
url = 'https://rabbitcontrol.cc/'
licenses {
license {
name = 'GNU LESSER GENERAL PUBLIC LICENSE Version 2.1'
url = 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html'
}
}
developers {
developer {
name.set('Ingo Randolf')
email.set('ingo.randolf@servus.at')
}
}
scm {
url = 'https://github.com/rabbitControl/rcp-java'
connection = 'scm:git://github.com/rabbitControl/rcp-java.git'
developerConnection = 'scm:git:ssh://github.com:rabbitControl/rcp-java.git'
}
}
}
}
}
signing {
sign configurations.archives
sign publishing.publications.mavenJava
}