-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
54 lines (48 loc) · 1.48 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
import jdk.tools.jlink.resources.plugins
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.4.1/userguide/tutorial_java_projects.html
*/
plugins {
// Apply the java plugin to add support for Java
id 'java'
}
allprojects {
setSourceCompatibility(JavaVersion.VERSION_11)
setTargetCompatibility(JavaVersion.VERSION_11)
repositories {
jcenter()
mavenCentral()
jcenter()
gradlePluginPortal()
mavenLocal()
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots'
}
maven {
url = 'http://repo.maven.apache.org/maven2'
}
}
apply plugin: 'idea'
idea {
module {
outputDir file('target/classes/main')
testOutputDir file('target/classes/test')
}
}
// if(project.convention.findPlugin(JavaPluginConvention)) {
// // Change the output directory for the main and test source sets back to the old path
// sourceSets.main.output.classesDir = new File(buildDir, "classes/main")
// sourceSets.test.output.classesDir = new File(buildDir, "classes/test")
// }
wrapper {
gradleVersion = '5.1.1'
distributionType = Wrapper.DistributionType.BIN
}
}
subprojects {
version = "1.0"
}