forked from CadixDev/Bombe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
108 lines (91 loc) · 3.01 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
plugins {
id 'com.google.cloud.artifactregistry.gradle-plugin' version '2.2.0'
}
allprojects {
apply plugin: 'jacoco'
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'groovy'
apply plugin: 'maven-publish'
apply plugin: 'com.google.cloud.artifactregistry.gradle-plugin'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withJavadocJar()
withSourcesJar()
}
group = 'org.cadixdev'
archivesBaseName = project.name.toLowerCase()
version = '0.5.1-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation 'org.codehaus.groovy:groovy-all:3.0.7'
testImplementation 'org.spockframework:spock-core:2.0-M4-groovy-3.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.5.1'
}
test {
useJUnitPlatform()
}
processResources {
from 'LICENSE.txt'
}
javadoc {
options.encoding = 'UTF-8'
options.charSet = 'UTF-8'
options.links(
'https://docs.oracle.com/javase/8/docs/api/'
)
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = project.archivesBaseName
from components.java
pom {
name = project.name
description = project.description
packaging = 'jar'
url = project.url
inceptionYear = project.inceptionYear
scm {
url = 'https://github.com/CadixDev/Bombe'
connection = 'scm:git:https://github.com/CadixDev/Bombe.git'
developerConnection = 'scm:git:[email protected]:CadixDev/Bombe.git'
}
issueManagement {
system = 'GitHub'
url = 'https://github.com/CadixDev/Bombe/issues'
}
licenses {
license {
name = 'BSD 3-Clause'
url = 'https://opensource.org/licenses/BSD-3-Clause'
distribution = 'repo'
}
}
developers {
developer {
id = 'jamierocks'
name = 'Jamie Mansfield'
email = '[email protected]'
url = 'https://www.jamiemansfield.me/'
timezone = 'Europe/London'
}
}
}
}
}
repositories {
maven {
url "artifactregistry://us-maven.pkg.dev/moonsworth-299m4oir/maven-public"
}
}
}
}