Rename unzip tool.
[SquirrelJME.git] / tools / markdown-javadoc / build.gradle
blob184bd71bcb9497b0ddd8ac2c88688f3f473837f9
1 import org.gradle.plugins.ide.idea.model.IdeaLanguageLevel
3 import java.nio.file.Files
4 import java.nio.file.Paths
6 plugins {
7         id "java-library"
8         id "idea"
11 apply plugin: "com.github.johnrengelman.shadow"
13 // Java 8 Only
14 sourceCompatibility = JavaVersion.VERSION_1_8
15 targetCompatibility = JavaVersion.VERSION_1_8
17 jar {
20 shadowJar {
21         dependsOn jar
24 dependencies {
25         // Depend directly on tools.jar so it is brought in, or the module
26         if (rootProject.hasProperty("squirreljmeFakeJavaDocSdk") &&
27                 rootProject.squirreljmeFakeJavaDocSdk) {
28                 implementation project(":tools:fake-javadoc-sdk")
29         } else {
30                 logger.lifecycle("Tools 1 ${rootProject.squirreljmeToolsJar.getFiles()}")
31                 logger.lifecycle("Tools 2 ${rootProject.ext.squirreljmeToolsJar.getFiles()}")
32                 implementation files(rootProject.ext.squirreljmeToolsJar)
33         }
34         
35         implementation project(":modules:io-file")
36         implementation project(":modules:json")
37         implementation project(":modules:markdown-writer")
38         implementation project(":modules:tool-classfile")