From 334f25c392aa72ee76e4c4aaf0676b7f57c4a20c Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 3 Dec 2015 17:08:06 +0100 Subject: configure Ant dependency so that it's visible in IntelliJ --- core/build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/build.gradle b/core/build.gradle index 49d6d4d6..c7313278 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -33,6 +33,7 @@ dependencies { compile "com.google.inject:guice:4.0" compile "com.github.spullara.cli-parser:cli-parser:1.1.1" compile "org.jsoup:jsoup:1.8.3" + compile "org.apache.ant:ant:1.9.6" compile files("../lib/intellij-core-analysis.jar") compile files("../lib/kotlin-for-upsource.jar") @@ -40,7 +41,6 @@ dependencies { compile files("../lib/picocontainer.jar") provided files(((URLClassLoader) ToolProvider.getSystemToolClassLoader()).getURLs().findAll { it.path.endsWith("jar") }) - provided "org.apache.ant:ant:1.9.6" runtime "org.fusesource.jansi:jansi:1.11" @@ -72,6 +72,10 @@ jar { shadowJar { baseName = 'dokka-fatjar' classifier = '' + + dependencies { + exclude(dependency('org.apache.ant:ant:1.9.6')) + } } publishing { -- cgit