-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
91 lines (74 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
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
plugins {
id("java")
id("signing")
id("maven-publish")
id("net.auoeke.gronk").version("3.+")
}
version("0.0.3")
final javacProject = project(":dycon-javac")
allprojects {
plugins.tap {
apply("java")
apply("signing")
apply("maven-publish")
apply("net.auoeke.gronk")
}
group("net.auoeke")
description("ldc intrinsics inspired by JEP 303")
gronk {
uncheck()
}
repositories {
mavenCentral()
}
}
if (!Boolean.getBoolean("idea.sync.active")) {
javaVersion(11)
javacProject.javaVersion(17)
}
dependencies {
testAnnotationProcessor(javacProject)
testImplementation("org.junit.jupiter:junit-jupiter-api")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
compileTestJava {
outputs.upToDateWhen {false}
}
test {
useJUnitPlatform()
}
configure([this, javacProject]) {
java {
withJavadocJar()
}
publishing {
repositories {
mavenLocal()
maven(findProperty("maven.repository")) {
username(findProperty("maven.username"))
password(findProperty("maven.password"))
}
}
publications.withType(MavenPublication) {
pom {
url.set("https://github.com/auoeke/dycon")
licenses {
license {
url.set("https://github.com/auoeke/dycon/blob/master/LICENSE.md")
}
}
developers {
developer {
id.set("auoeke")
email.set("[email protected]")
}
}
scm {
connection.set("scm:git:git://github.com/auoeke/dycon.git")
developerConnection.set("scm:git:git://github.com/auoeke/dycon.git")
url.set("https://github.com/auoeke/dycon/tree/master")
}
}
}
}
}