-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
35 lines (31 loc) · 965 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
allprojects {
apply plugin: 'java'
group = "io.github.mainyf"
version = "1.0"
sourceCompatibility = 1.8
targetCompatibility = 1.8
[compileJava, compileTestJava, javadoc]*.options*.encoding = "UTF-8"
repositories {
mavenCentral()
maven {
name = "snapshots-repo"
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
dependencies {
compile 'com.google.guava:guava:27.1-jre'
compile("mysql:mysql-connector-java:8.0.15")
compileOnly("org.projectlombok:lombok:1.18.6")
annotationProcessor("org.projectlombok:lombok:1.18.6")
testCompile("junit:junit:4.12")
}
}
subprojects {
}
task allJar(type: org.gradle.jvm.tasks.Jar, dependsOn: classes) {
classifier = 'all'
subprojects.each { subproject ->
from subproject.sourceSets.main.output
// configurations = [subproject.configurations.compile]
}
}