-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
81 lines (70 loc) · 2.09 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
plugins {
id 'java'
id 'maven-publish'
}
group = 'io.msla'
version = '0.1.3-' + new Date().format('yyyyMMddHHmmss')
repositories {
mavenCentral()
}
compileJava {
options.encoding = 'UTF-8'
}
compileTestJava {
options.encoding = 'UTF-8'
}
jar {
archiveBaseName = 'gerber-lib'
archiveVersion.set((String) project.version)
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.28'
annotationProcessor 'org.projectlombok:lombok:1.18.28'
testCompileOnly 'org.projectlombok:lombok:1.18.28'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.28'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
}
test {
useJUnitPlatform()
}
publishing {
repositories {
maven {
name = "maven.msla.io"
url = "https://maven.msla.io/repository"
credentials {
username = System.getProperty("msla.maven.user")
password = System.getProperty("msla.maven.password")
}
}
}
publications {
mavenJava(MavenPublication) {
from components.java
pom {
name = 'gerber-lib'
description = 'Gerber processing library'
url = 'https://msla.io/'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'futurelink'
name = 'Denis Pavlov'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:git://github.com:futurelink/msla-imaging.git'
developerConnection = 'scm:git:ssh://github.com:futurelink/msla-imaging.git'
url = "https://github.com/futurelink/msla-imaging"
}
}
}
}
}