-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
71 lines (60 loc) · 1.97 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
subprojects {
apply plugin: 'java-library'
apply plugin: 'signing'
apply plugin: 'maven-publish'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
group = 'multiffi'
version = '1.0.0'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}
tasks.withType(Javadoc).configureEach { enabled = false }
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'io.github.multiffi'
artifactId = "multiffi-math-${project.name}"
version = version
from components.java
pom {
name = 'io.github.multiffi'
description = project.description
url = 'https://github.com/multiffi/math'
licenses {
license {
name = 'BSD 3-Clause \"New\" or \"Revised\" License'
url = 'http://opensource.org/licenses/BSD-3-Clause'
}
}
developers {
developer {
id = 'Tianscar'
name = 'Naoko Mitsurugi'
email = 'tianscar@protonmail.com'
}
}
scm {
connection = 'scm:git:git@github.com/multiffi/math.git'
developerConnection = 'scm:git:git@github.com/multiffi/math.git'
url = 'https://github.com/multiffi/math'
}
}
}
}
}
signing {
sign(publishing.publications.mavenJava)
}
}