-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
42 lines (33 loc) · 762 Bytes
/
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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.13.0'
}
}
apply plugin: 'idea'
apply plugin: 'java-library'
apply plugin: "com.vanniktech.maven.publish"
dependencies {
compile 'org.slf4j:slf4j-api:1.7.32'
// Use JUnit test framework
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
repositories {
mavenCentral()
mavenLocal()
}
compileJava {
sourceCompatibility = 11
targetCompatibility = 11
}
test {
useJUnitPlatform()
}
signing {
if (hasProperty('SIGNING_PRIVATE_KEY')) {
useInMemoryPgpKeys(SIGNING_PRIVATE_KEY, "")
}
}