diff options
author | SciWhiz12 <arnoldnunag12@gmail.com> | 2021-05-15 12:03:09 +0800 |
---|---|---|
committer | SciWhiz12 <arnoldnunag12@gmail.com> | 2021-05-15 12:08:14 +0800 |
commit | 499ff87b31ad4714acfc7b160a89494547ad55a4 (patch) | |
tree | 8d3a8db2a742572761cd56d139816d724cafd836 /build.gradle | |
parent | bf76791ab0cfef81b5ae16736938913903fe676f (diff) | |
download | Artifactural-499ff87b31ad4714acfc7b160a89494547ad55a4.tar.gz Artifactural-499ff87b31ad4714acfc7b160a89494547ad55a4.tar.bz2 Artifactural-499ff87b31ad4714acfc7b160a89494547ad55a4.zip |
Remove ModifierAccess and java9 source set/project
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/build.gradle b/build.gradle index 6b06ff4..9fff891 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,6 @@ sourceSets { api shared gradlecomp - java9 } repositories { @@ -35,8 +34,6 @@ configurations { } dependencies { - java9Implementation files(sourceSets.main.output.classesDirs) { builtBy compileJava } - sharedImplementation sourceSets.api.output gradlecompImplementation sourceSets.shared.output @@ -58,50 +55,10 @@ java { toolchain.languageVersion = JavaLanguageVersion.of(8) } -project(':artifactural9') { - apply plugin: 'java' - apply plugin: 'eclipse' - group = rootProject.group - java.toolchain.languageVersion = JavaLanguageVersion.of(9) - - sourceSets { - java9.java.srcDirs = [rootProject.file('src/java9').getAbsolutePath()] - } - - eclipse { - project { - name rootProject.name + '9' - linkedResource name: 'java9', type: '2', location: rootProject.file('src/java9').getAbsolutePath() - } - jdt { - sourceCompatibility = targetCompatibility = 9 - } - } - - tasks.withType(JavaCompile) { - options.encoding = 'utf-8' - javaCompiler = javaToolchains.compilerFor { - languageVersion = JavaLanguageVersion.of(9) - } - } -} - - - jar { from sourceSets.api.output from sourceSets.shared.output from(sourceSets.gradlecomp.output) - - into('META-INF/versions/9') { - from project(':artifactural9').sourceSets.java9.output - } - - manifest { - attributes( - 'Multi-Release': 'true' - ) - } } task sourcesJar(type: Jar, dependsOn: classes) { |