gwt - Updating the content of dependency jar in Gradle -


i'm trying compile javadoc gradle application seems crash on 1 of dependencies. specifically, gwt-user-2.4.0.jar file. i've figured out problem lies in fact file contains both .class , .java files , it's trying compile java files.

for i'm trying fixed until know how deal underlying problem removing .java files jar. i'm trying accomplish adding following code build.gradle:

javadoc{     newjar = jar {         ziptree("${project.configurations.compile.find{it.name == 'gwt-user-2.4.0.jar'}}") {             exclude "**/*.java"         }         destinationdir = file("${project.builddir}/temp")         basename = "gwt-user-2.4.0.new"      }     classpath -= files(project.configurations.compile.find{it.name == "gwt-user-2.4.0.jar"})     classpath += newjar } 

this doesn't seem work, , can't find in documentation on how copy content 1 jar or alike. have ideas on how this?

tl;dr: how alter content jar file in gradle?


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -