-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (54 loc) · 1.1 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
/*
* Created on Thu Aug 05 2021
*
* Copyright (c) storycraft. Licensed under the MIT Licence.
*/
plugins {
id 'java'
id 'maven-publish'
}
group 'sh.pancake'
version '0.3.0'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.ow2.asm:asm:9.2'
implementation 'org.ow2.asm:asm-commons:9.2'
implementation 'com.google.guava:guava:30.1.1-jre'
// Use JUnit Jupiter for testing.
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.1'
}
tasks.named('test') {
useJUnitPlatform()
}
test {
testLogging.showStandardStreams = true
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
resources {
srcDir 'src/main/resources'
}
}
}
publishing {
publications {
lib(MavenPublication) {
from components.java
}
}
repositories {
maven {
url = file('../maven')
}
}
}