# Old Forum Archive

**URL:** https://discuss.gradle.org/c/old-forum/13.md?page=3

[Latest](https://discuss.gradle.org/latest.md) · [Categories](https://discuss.gradle.org/categories.md) · [Tags](https://discuss.gradle.org/tags.md)

**Page:** 4

---

## [AbstractCopyTask.rename(Closure) does not handle null returns as documented](https://discuss.gradle.org/t/abstractcopytask-rename-closure-does-not-handle-null-returns-as-documented/19758)

<div class="topic-metadata">

**Author:** [@blaine\_simpson](https://discuss.gradle.org/u/blaine_simpson)\
**Replies:** 1\
**Last updated:** [September 28, 2016, 2:08pm UTC](https://discuss.gradle.org/t/abstractcopytask-rename-closure-does-not-handle-null-returns-as-documented/19758 "2016-09-28T14:08:05Z")

</div>

See what the 3.1 API docs says about the closure returning nulls: https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/AbstractCopyTask.html#rename(groovy.lang.Closure) : The closure may return null, in which ca…

---

## [Plugins like net.ltgt.apt are not pulled from cache if present](https://discuss.gradle.org/t/plugins-like-net-ltgt-apt-are-not-pulled-from-cache-if-present/19726)

<div class="topic-metadata">

**Author:** [@novaterata](https://discuss.gradle.org/u/novaterata)\
**Replies:** 3\
**Last updated:** [September 27, 2016, 4:45pm UTC](https://discuss.gradle.org/t/plugins-like-net-ltgt-apt-are-not-pulled-from-cache-if-present/19726 "2016-09-27T16:45:48Z")

</div>

My team likes to avoid downloading libraries , but we haven't gotten around to hosting our own repository. For dependencies, I've found that I can just check-in the modules-2 directory, but the net.ltgt.apt plugin seems …

---

## [Overriding Documented Test Reposts XML Destination fails due wrong properties specified](https://discuss.gradle.org/t/overriding-documented-test-reposts-xml-destination-fails-due-wrong-properties-specified/19728)

<div class="topic-metadata">

**Author:** [@cristobal](https://discuss.gradle.org/u/cristobal)\
**Replies:** 0\
**Last updated:** [September 26, 2016, 9:08pm UTC](https://discuss.gradle.org/t/overriding-documented-test-reposts-xml-destination-fails-due-wrong-properties-specified/19728 "2016-09-26T21:08:30Z")

</div>

We are upgrading from gradle 2.14.1 and we need to override for the moment the specified reports xml destination due that we need our jenkins pipeline working with the old test results directory for the time being. How…

---

## [Gradle daemon becomes unusable - resurrected](https://discuss.gradle.org/t/gradle-daemon-becomes-unusable-resurrected/19703)

<div class="topic-metadata">

**Author:** [@xtracoder](https://discuss.gradle.org/u/xtracoder)\
**Replies:** 6\
**Last updated:** [September 27, 2016, 5:17am UTC](https://discuss.gradle.org/t/gradle-daemon-becomes-unusable-resurrected/19703 "2016-09-27T05:17:36Z")

</div>

I’m resurrecting that ancient thread I’ve got mentioned problem reproducible in both 2.14.1 and 3.1. The root cause, as far as I understand, is unhanded exception in the socked connection in the target daemon. That con…

---

## [Changing buildSrc script renders all tasks within out of date](https://discuss.gradle.org/t/changing-buildsrc-script-renders-all-tasks-within-out-of-date/19656)

<div class="topic-metadata">

**Author:** [@sc1478](https://discuss.gradle.org/u/sc1478)\
**Replies:** 2\
**Last updated:** [September 26, 2016, 4:08pm UTC](https://discuss.gradle.org/t/changing-buildsrc-script-renders-all-tasks-within-out-of-date/19656 "2016-09-26T16:08:16Z")

</div>

What does this mean? Executing task ':openssl64:untarDist' (up-to-date check took 0.264 secs) due to: Task ':openssl64:untarDist' additional action class path has changed. This task has an explicit upToDateWhen on i…

---

## [Changing Java package name case requires a clean build](https://discuss.gradle.org/t/changing-java-package-name-case-requires-a-clean-build/19696)

<div class="topic-metadata">

**Author:** [@petehayes](https://discuss.gradle.org/u/petehayes)\
**Replies:** 2\
**Last updated:** [September 26, 2016, 12:11pm UTC](https://discuss.gradle.org/t/changing-java-package-name-case-requires-a-clean-build/19696 "2016-09-26T12:11:48Z")

</div>

Gradle Version: 2.14 Operating System and JVM version: Windows 7, Java 8 Is this a regression? If yes, which version of Gradle do you know it last worked for? No https://github.com/petehayes/package-rename-issue H…

---

## [java.io.FileNotFoundException when running Jacoco inside an Android Kotlin project](https://discuss.gradle.org/t/java-io-filenotfoundexception-when-running-jacoco-inside-an-android-kotlin-project/18675)

<div class="topic-metadata">

**Author:** [@Egorand](https://discuss.gradle.org/u/Egorand)\
**Replies:** 3\
**Last updated:** [September 26, 2016, 10:54am UTC](https://discuss.gradle.org/t/java-io-filenotfoundexception-when-running-jacoco-inside-an-android-kotlin-project/18675 "2016-09-26T10:54:27Z")

</div>

I'm not able to generate code coverage reports using Jacoco plugin inside an Android project, written entirely in Kotlin. Build fails with a java.io.FileNotFoundException on a path containing an $inlined segment. When I …

---

## [Gradle build is much longer when 4g modem is connected to the PC](https://discuss.gradle.org/t/gradle-build-is-much-longer-when-4g-modem-is-connected-to-the-pc/19711)

<div class="topic-metadata">

**Author:** [@Arctic23](https://discuss.gradle.org/u/Arctic23)\
**Replies:** 0\
**Last updated:** [September 25, 2016, 3:41pm UTC](https://discuss.gradle.org/t/gradle-build-is-much-longer-when-4g-modem-is-connected-to-the-pc/19711 "2016-09-25T15:41:38Z")

</div>

Android Studio version 2.1.3, Gradle 2.14.1. Without 4g modem Gradle works fast and usually takes 4-6 seconds to build the project, but with the modem (or smartphone connected via USB) it takes much longer, about 2 min…

---

## [Idea plugin doesn’t generate RUNTIME dependencies properly](https://discuss.gradle.org/t/idea-plugin-doesn-t-generate-runtime-dependencies-properly/19700)

<div class="topic-metadata">

**Author:** [@tonicsoft](https://discuss.gradle.org/u/tonicsoft)\
**Replies:** 0\
**Last updated:** [September 23, 2016, 10:45pm UTC](https://discuss.gradle.org/t/idea-plugin-doesn-t-generate-runtime-dependencies-properly/19700 "2016-09-23T22:45:53Z")

</div>

The idea.module.scopes.RUNTIME.plus collection does not behave as documented here: https://docs.gradle.org/current/dsl/org.gradle.plugins.ide.idea.model.IdeaModule.html#org.gradle.plugins.ide.idea.model.IdeaModule:scopes …

---

## [OSGi plugin causes jar task to fail if buildDir is not the default](https://discuss.gradle.org/t/osgi-plugin-causes-jar-task-to-fail-if-builddir-is-not-the-default/19693)

<div class="topic-metadata">

**Author:** [@renatoathaydes](https://discuss.gradle.org/u/renatoathaydes)\
**Replies:** 0\
**Last updated:** [September 23, 2016, 5:59pm UTC](https://discuss.gradle.org/t/osgi-plugin-causes-jar-task-to-fail-if-builddir-is-not-the-default/19693 "2016-09-23T17:59:13Z")

</div>

Gradle Version: 3.1-rc-1 Operating System and JVM version: Mac OS X 10.11.6 x86\_64, 1.8.0\_60 (Oracle Corporation 25.60-b23) Is this a regression? Not that I know of. With this simple build file: apply plugin: 'java…

---

## [Substitution of transitive dependency pulls in all artifacts of substituting project](https://discuss.gradle.org/t/substitution-of-transitive-dependency-pulls-in-all-artifacts-of-substituting-project/17993)

<div class="topic-metadata">

**Author:** [@Chris\_Dore](https://discuss.gradle.org/u/Chris_Dore)\
**Replies:** 6\
**Last updated:** [September 23, 2016, 3:31pm UTC](https://discuss.gradle.org/t/substitution-of-transitive-dependency-pulls-in-all-artifacts-of-substituting-project/17993 "2016-09-23T15:31:41Z")

</div>

Hi, I've encountered a strange scenario that I'm not sure how to work around, and I think could possibly be a bug (or in need of improvement). Given the following build.gradle: task wrapper(type: Wrapper) { gra…

---

## [Gradle must not reuse daemon if required privileges aren't matched](https://discuss.gradle.org/t/gradle-must-not-reuse-daemon-if-required-privileges-arent-matched/19683)

<div class="topic-metadata">

**Author:** [@Christo\_Zietsman](https://discuss.gradle.org/u/Christo_Zietsman)\
**Replies:** 0\
**Last updated:** [September 23, 2016, 11:50am UTC](https://discuss.gradle.org/t/gradle-must-not-reuse-daemon-if-required-privileges-arent-matched/19683 "2016-09-23T11:50:12Z")

</div>

I started a build in a non-elevated command prompt. Some tests fail, because they need elevated privileges. I then opened an elevated command prompt and started another build. It failed again, because it was now using …

---

## [Gradle should provide Java / Android build logs as good as old Ant system](https://discuss.gradle.org/t/gradle-should-provide-java-android-build-logs-as-good-as-old-ant-system/19675)

<div class="topic-metadata">

**Author:** [@accesio](https://discuss.gradle.org/u/accesio)\
**Replies:** 0\
**Last updated:** [September 23, 2016, 2:18am UTC](https://discuss.gradle.org/t/gradle-should-provide-java-android-build-logs-as-good-as-old-ant-system/19675 "2016-09-23T02:18:37Z")

</div>

It is near impossible to get actually useful information about a build that can be reproduced using command line javac, aapt , dex (..etc ) commands. Case in point , you create a simple java android project and try t…

---

## [Gradle sometimes stucks on resolving dependencies when called via ssh using jsch](https://discuss.gradle.org/t/gradle-sometimes-stucks-on-resolving-dependencies-when-called-via-ssh-using-jsch/19666)

<div class="topic-metadata">

**Author:** [@ArielDynatrace](https://discuss.gradle.org/u/ArielDynatrace)\
**Replies:** 0\
**Last updated:** [September 22, 2016, 11:16am UTC](https://discuss.gradle.org/t/gradle-sometimes-stucks-on-resolving-dependencies-when-called-via-ssh-using-jsch/19666 "2016-09-22T11:16:36Z")

</div>

Gradle Version: 2.4, 2.14.1, 3.1 Operating System and JVM version: Windows 8.1 x64, Windows 8.1 x32, JDK 1.8u60x64, 1.8u92x64 Is this a regression? If yes, which version of Gradle do you know it last worked for? NO We …

---

## [Transitive runtime dependencies are part of compile configuration](https://discuss.gradle.org/t/transitive-runtime-dependencies-are-part-of-compile-configuration/19651)

<div class="topic-metadata">

**Author:** [@nilsH](https://discuss.gradle.org/u/nilsH)\
**Replies:** 5\
**Last updated:** [September 21, 2016, 5:53pm UTC](https://discuss.gradle.org/t/transitive-runtime-dependencies-are-part-of-compile-configuration/19651 "2016-09-21T17:53:40Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: Windows 7 Is this a regression? If yes, which version of Gradle do you know it last worked for? No If I declare a compile dependency (e.g. to io.reactivex:rxnetty:0…

---

## [Console output is not readble](https://discuss.gradle.org/t/console-output-is-not-readble/19625)

<div class="topic-metadata">

**Author:** [@kec2](https://discuss.gradle.org/u/kec2)\
**Replies:** 2\
**Last updated:** [September 21, 2016, 7:44am UTC](https://discuss.gradle.org/t/console-output-is-not-readble/19625 "2016-09-21T07:44:20Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: 1.8.0\_102 64bit Is this a regression? If yes, which version of Gradle do you know it last worked for? 3.0 I useing Eclipse Neon's terminal to execute my gradle scr…

---

## [UrlClassLoader ClassCastException](https://discuss.gradle.org/t/urlclassloader-classcastexception/19579)

<div class="topic-metadata">

**Author:** [@blackdrag](https://discuss.gradle.org/u/blackdrag)\
**Replies:** 1\
**Last updated:** [September 21, 2016, 6:05am UTC](https://discuss.gradle.org/t/urlclassloader-classcastexception/19579 "2016-09-21T06:05:45Z")

</div>

Hi from the Groovy Project again, Using ca9d78a72a1e76e9 from the JDK9 repository I get the following exception when trying to start gradle 3.0 on our CI server: \[22:28:49\]\[Step 2/3\] Starting a Gradle Daemon, 2 busy…

---

## [Jigsaw b136 gradle problem](https://discuss.gradle.org/t/jigsaw-b136-gradle-problem/19580)

<div class="topic-metadata">

**Author:** [@blackdrag](https://discuss.gradle.org/u/blackdrag)\
**Replies:** 1\
**Last updated:** [September 21, 2016, 6:05am UTC](https://discuss.gradle.org/t/jigsaw-b136-gradle-problem/19580 "2016-09-21T06:05:02Z")

</div>

Hi from te Groovy team again, this is with gradle 3.0 and jdk9 jigsaw b136: \[12:00:28\]\[Gradle failure report\] Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected java.lang.Package\[\] j…

---

## [Exec task failing to perform process, no error](https://discuss.gradle.org/t/exec-task-failing-to-perform-process-no-error/19633)

<div class="topic-metadata">

**Author:** [@sc1478](https://discuss.gradle.org/u/sc1478)\
**Replies:** 4\
**Last updated:** [September 20, 2016, 9:05pm UTC](https://discuss.gradle.org/t/exec-task-failing-to-perform-process-no-error/19633 "2016-09-20T21:05:43Z")

</div>

Gradle Version: 3.1 (and earlier) Operating System and JVM version: Red Hat Enterprise Linux Server release 6.7 (Santiago) java version "1.8.0\_77" Java(TM) SE Runtime Environment (build 1.8.0\_77-b03) Java HotSpot(TM)…

---

## [S3 repositories do not recognize AWS partitions](https://discuss.gradle.org/t/s3-repositories-do-not-recognize-aws-partitions/19636)

<div class="topic-metadata">

**Author:** [@aeffrig](https://discuss.gradle.org/u/aeffrig)\
**Replies:** 1\
**Last updated:** [September 20, 2016, 6:24pm UTC](https://discuss.gradle.org/t/s3-repositories-do-not-recognize-aws-partitions/19636 "2016-09-20T18:24:42Z")

</div>

AWS has the concept of partitions, which affects the region endpoints used to interacts with AWS. For example, there exists a GovCloud partition and possibly others, all of which change the S3 endpoint. See http://docs.…

---

## [JacocoReport should not require \`destination\` to be set for disabled reports](https://discuss.gradle.org/t/jacocoreport-should-not-require-destination-to-be-set-for-disabled-reports/19465)

<div class="topic-metadata">

**Author:** [@jochenberger](https://discuss.gradle.org/u/jochenberger)\
**Replies:** 5\
**Last updated:** [September 20, 2016, 2:00pm UTC](https://discuss.gradle.org/t/jacocoreport-should-not-require-destination-to-be-set-for-disabled-reports/19465 "2016-09-20T14:00:15Z")

</div>

I have a custom JacocoReport task in my project. I set reports.xml.enabled = false and reports.csv.enabled = false because I only care for the html report. When I run the task with Gradle 3.0, it complains that Some pr…

---

## [Log level for java.util.logging is hard-coded to FINE](https://discuss.gradle.org/t/log-level-for-java-util-logging-is-hard-coded-to-fine/19576)

<div class="topic-metadata">

**Author:** [@varju](https://discuss.gradle.org/u/varju)\
**Replies:** 1\
**Last updated:** [September 20, 2016, 7:11am UTC](https://discuss.gradle.org/t/log-level-for-java-util-logging-is-hard-coded-to-fine/19576 "2016-09-20T07:11:10Z")

</div>

Our project makes use of Tomcat's org.apache.jasper.JspC Ant task to precompile JSPs. After upgrading to Tomcat 8, we noticed that the precompile was running significantly slower. Turning on YourKit profiling for the b…

---

## [Findbugs plugin is not processing includeFilter correctly?](https://discuss.gradle.org/t/findbugs-plugin-is-not-processing-includefilter-correctly/19384)

<div class="topic-metadata">

**Author:** [@mmoayyed](https://discuss.gradle.org/u/mmoayyed)\
**Replies:** 4\
**Last updated:** [September 19, 2016, 4:22pm UTC](https://discuss.gradle.org/t/findbugs-plugin-is-not-processing-includefilter-correctly/19384 "2016-09-19T16:22:32Z")

</div>

I am running Gradle 3.0 with the following JVM on MacOS java version "1.8.0\_101" Java(TM) SE Runtime Environment (build 1.8.0\_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) My Findbugs plug…

---

## [Permission denied error during a copy in the processTestResource task on Linux server](https://discuss.gradle.org/t/permission-denied-error-during-a-copy-in-the-processtestresource-task-on-linux-server/15359)

<div class="topic-metadata">

**Author:** [@cpesarchick](https://discuss.gradle.org/u/cpesarchick)\
**Replies:** 6\
**Last updated:** [September 19, 2016, 1:08pm UTC](https://discuss.gradle.org/t/permission-denied-error-during-a-copy-in-the-processtestresource-task-on-linux-server/15359 "2016-09-19T13:08:58Z")

</div>

We started to upgrade from 2.4 to 2.12 and we started to see an issue with copying resources during the processTestResources task. I determined the first Gradle version to have this issue was version 2.5. When we are do…

---

## [Logging output contains extra blank lines](https://discuss.gradle.org/t/logging-output-contains-extra-blank-lines/19369)

<div class="topic-metadata">

**Author:** [@Hendrik-H](https://discuss.gradle.org/u/Hendrik-H)\
**Replies:** 2\
**Last updated:** [September 19, 2016, 12:09pm UTC](https://discuss.gradle.org/t/logging-output-contains-extra-blank-lines/19369 "2016-09-19T12:09:00Z")

</div>

Hi, my test code is using log4j2 to print out things during the test execution. If I use the the highlighting mode of log4j2 I get extra blank lines after every log line. My log pattern is defined like this: \<Pattern…

---

## [(gradle 3.0) ./gradlew idea doesn't add groovy as source root](https://discuss.gradle.org/t/gradle-3-0-gradlew-idea-doesnt-add-groovy-as-source-root/19457)

<div class="topic-metadata">

**Author:** [@justinuang](https://discuss.gradle.org/u/justinuang)\
**Replies:** 3\
**Last updated:** [September 19, 2016, 6:22am UTC](https://discuss.gradle.org/t/gradle-3-0-gradlew-idea-doesnt-add-groovy-as-source-root/19457 "2016-09-19T06:22:43Z")

</div>

After upgrading, src/main/groovy isn't added as a source root in the projects generated by ./gradlew idea. Before: \<content url="file://$MODULE\_DIR$/"\> \<sourceFolder url="file://$MODULE\_DIR$/src/main/…

---

## [Native Windows: missing mc compiler](https://discuss.gradle.org/t/native-windows-missing-mc-compiler/19581)

<div class="topic-metadata">

**Author:** [@zosrothko](https://discuss.gradle.org/u/zosrothko)\
**Replies:** 0\
**Last updated:** [September 18, 2016, 12:49pm UTC](https://discuss.gradle.org/t/native-windows-missing-mc-compiler/19581 "2016-09-18T12:49:21Z")

</div>

Hi there gradle for native windows builld is missing the message compiler artifact: mc.exe See https://msdn.microsoft.com/en-us/library/windows/desktop/aa385638(v=vs.85).aspx

---

## [Way to find root cause of a Gradle deprecation warning is arcane knowledge](https://discuss.gradle.org/t/way-to-find-root-cause-of-a-gradle-deprecation-warning-is-arcane-knowledge/18838)

<div class="topic-metadata">

**Author:** [@huxi](https://discuss.gradle.org/u/huxi)\
**Replies:** 16\
**Last updated:** [September 17, 2016, 6:09pm UTC](https://discuss.gradle.org/t/way-to-find-root-cause-of-a-gradle-deprecation-warning-is-arcane-knowledge/18838 "2016-09-17T18:09:07Z")

</div>

It's possible to get a stacktrace pointing to the source of a Gradle deprecation warning by using -Dorg.gradle.deprecation.trace=true. This is extremely helpful but isn't mentioned in the guide or the output of Gradle. …

---

## [Plugin publish fails with NPE if dependency doesn't have version](https://discuss.gradle.org/t/plugin-publish-fails-with-npe-if-dependency-doesnt-have-version/19070)

<div class="topic-metadata">

**Author:** [@Danny\_Thomas1](https://discuss.gradle.org/u/Danny_Thomas1)\
**Replies:** 2\
**Last updated:** [September 16, 2016, 3:42pm UTC](https://discuss.gradle.org/t/plugin-publish-fails-with-npe-if-dependency-doesnt-have-version/19070 "2016-09-16T15:42:37Z")

</div>

Gradle Version: 3.0 Operating System: Linux Is this a regression? Unknown In this commit for this project, I omitted a version on a dependency because it's set automatically by a resolutionStrategy in a plugin: Ho…

---

## [Org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 225973935; received: 117746340](https://discuss.gradle.org/t/org-apache-http-connectionclosedexception-premature-end-of-content-length-delimited-message-body-expected-225973935-received-117746340/17581)

<div class="topic-metadata">

**Author:** [@Horcrux7](https://discuss.gradle.org/u/Horcrux7)\
**Replies:** 3\
**Last updated:** [September 16, 2016, 12:50pm UTC](https://discuss.gradle.org/t/org-apache-http-connectionclosedexception-premature-end-of-content-length-delimited-message-body-expected-225973935-received-117746340/17581 "2016-09-16T12:50:41Z")

</div>

Since update to version 2.13 we see frequently the follow error. The problem occur only with very large files. And it occur not ever. The stacktrace does not show the original error because on close() occur another error…

[Previous page](https://discuss.gradle.org/c/old-forum/13.md?page=2)

[Next page](https://discuss.gradle.org/c/old-forum/13.md?page=4)
