# Old Forum Archive

**URL:** https://discuss.gradle.org/c/old-forum/13.md

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

---

## [About the Old Forum Archive category](https://discuss.gradle.org/t/about-the-old-forum-archive-category/60)

<div class="topic-metadata">

**Author:** [@Rene](https://discuss.gradle.org/u/Rene)\
**Replies:** 1\
**Last updated:** [March 5, 2015, 8:04pm UTC](https://discuss.gradle.org/t/about-the-old-forum-archive-category/60 "2015-03-05T20:04:09Z")

</div>

This category contains all old forum topics. Creating a new forum topic in this category is not supported. All topics are marked as "Closed" and can't be edited. If you want to proceed with the discussion of a topic list…

---

## [Stop test/build execution on first failure and flag build as failed](https://discuss.gradle.org/t/stop-test-build-execution-on-first-failure-and-flag-build-as-failed/4346)

<div class="topic-metadata">

**Author:** [@bruce](https://discuss.gradle.org/u/bruce)\
**Replies:** 3\
**Last updated:** [March 23, 2018, 7:31pm UTC](https://discuss.gradle.org/t/stop-test-build-execution-on-first-failure-and-flag-build-as-failed/4346 "2018-03-23T19:31:35Z")

</div>

Hello, I have some long running integration tests and I would like these tests to make the build fail 'fast'. Currently, if I have a failure, the test task still attempts to execute the remaining tests. Only after all…

---

## [Recommended plugin debugging technique](https://discuss.gradle.org/t/recommended-plugin-debugging-technique/6880)

<div class="topic-metadata">

**Author:** [@Christian\_Lipp](https://discuss.gradle.org/u/Christian_Lipp)\
**Replies:** 6\
**Last updated:** [June 23, 2014, 8:16pm UTC](https://discuss.gradle.org/t/recommended-plugin-debugging-technique/6880 "2014-06-23T20:16:00Z")

</div>

I have problems with a Gradle build - an external plugin is not working with my configuration (input data and settings in build.gradle) and/or my environment (OS). Since the plugin source is available on Github I want to…

---

## [Gradle-wrapper should verify integrity of the downloaded distribution](https://discuss.gradle.org/t/gradle-wrapper-should-verify-integrity-of-the-downloaded-distribution/407)

<div class="topic-metadata">

**Author:** [@Michael\_Ekstrand](https://discuss.gradle.org/u/Michael_Ekstrand)\
**Replies:** 3\
**Last updated:** [September 18, 2017, 8:13am UTC](https://discuss.gradle.org/t/gradle-wrapper-should-verify-integrity-of-the-downloaded-distribution/407 "2017-09-18T08:13:24Z")

</div>

Right now, the Gradle wrapper downloads Gradle over unsecured HTTP without any apparent integrity checking. It would be good, in my opinion, to include the SHA1 hash of the distribution zip file in 'gradle-wrapper.pro…

---

## [Codenarc { reportFormat = 'console' } STILL hides the output from the console](https://discuss.gradle.org/t/codenarc-reportformat-console-still-hides-the-output-from-the-console/11971)

<div class="topic-metadata">

**Author:** [@mcandre](https://discuss.gradle.org/u/mcandre)\
**Replies:** 2\
**Last updated:** [June 8, 2017, 7:27am UTC](https://discuss.gradle.org/t/codenarc-reportformat-console-still-hides-the-output-from-the-console/11971 "2017-06-08T07:27:49Z")

</div>

When using the Gradle CodeNarc plugin, with codenarc { reportFormat = 'console' }, the output is STILL hidden from the console. Using Gradle 2.7, Java 1.8, Mac OS X 10.10.5. Side note: Applying the convention over co…

---

## [NullPointerException from TaskPathProjectEvaluator](https://discuss.gradle.org/t/nullpointerexception-from-taskpathprojectevaluator/20212)

<div class="topic-metadata">

**Author:** [@mondrejko](https://discuss.gradle.org/u/mondrejko)\
**Replies:** 1\
**Last updated:** [December 19, 2016, 10:40pm UTC](https://discuss.gradle.org/t/nullpointerexception-from-taskpathprojectevaluator/20212 "2016-12-19T22:40:29Z")

</div>

We are still occasionally (as of 19-Dec-2016) receiving the exception below when attempting to run any gradle task (i.e. originally failed attempting 'gradle test --tests...', but also fails with 'gradle tasks'). This is…

---

## [Right way to copy contents from dependency archives?](https://discuss.gradle.org/t/right-way-to-copy-contents-from-dependency-archives/7449)

<div class="topic-metadata">

**Author:** [@netmikey](https://discuss.gradle.org/u/netmikey)\
**Replies:** 12\
**Last updated:** [September 15, 2014, 2:10pm UTC](https://discuss.gradle.org/t/right-way-to-copy-contents-from-dependency-archives/7449 "2014-09-15T14:10:00Z")

</div>

Hi, I have a configuration that contains some dependencies. I want a task that extracts all resolved artifacts into a directory, but I'm getting stuck with Gradle's Lifecycle I think... Here's what I want: confi…

---

## [Build fails with "Unable to process incoming event 'ProgressComplete ' (ProgressCompleteEvent)"](https://discuss.gradle.org/t/build-fails-with-unable-to-process-incoming-event-progresscomplete-progresscompleteevent/18434)

<div class="topic-metadata">

**Author:** [@nwalter](https://discuss.gradle.org/u/nwalter)\
**Replies:** 34\
**Last updated:** [October 31, 2016, 11:30am UTC](https://discuss.gradle.org/t/build-fails-with-unable-to-process-incoming-event-progresscomplete-progresscompleteevent/18434 "2016-10-31T11:30:31Z")

</div>

Since we have updated our gradle version to 2.14 on some of our developer machines (win7 x64) the builds of our multi-project-build fail unpredictable with the following exception: FAILURE: Build failed with an excep…

---

## [Terminal problems](https://discuss.gradle.org/t/terminal-problems/20319)

<div class="topic-metadata">

**Author:** [@Steve\_Ebersole](https://discuss.gradle.org/u/Steve_Ebersole)\
**Replies:** 6\
**Last updated:** [November 16, 2016, 5:19am UTC](https://discuss.gradle.org/t/terminal-problems/20319 "2016-11-16T05:19:54Z")

</div>

\------------------------------------------------------------ Gradle 3.1 ------------------------------------------------------------ Build time: 2016-09-19 10:53:53 UTC Revision: 13f38ba699afd86d7cdc4ed8fd7dd3960…

---

## [Gradle Play plugin does not include test resources in classpath when running tests](https://discuss.gradle.org/t/gradle-play-plugin-does-not-include-test-resources-in-classpath-when-running-tests/11845)

<div class="topic-metadata">

**Author:** [@cyang](https://discuss.gradle.org/u/cyang)\
**Replies:** 2\
**Last updated:** [November 15, 2016, 4:47pm UTC](https://discuss.gradle.org/t/gradle-play-plugin-does-not-include-test-resources-in-classpath-when-running-tests/11845 "2016-11-15T16:47:55Z")

</div>

The testPlayBinary task does not include resources from the test/resources directory, which is the default test resources directory when building play applications using SBT. I've modified PlayTestPlugin to add a task …

---

## [I have gotten an issue when i using gradle and jmockit for unit test](https://discuss.gradle.org/t/i-have-gotten-an-issue-when-i-using-gradle-and-jmockit-for-unit-test/20400)

<div class="topic-metadata">

**Author:** [@pmmhjj](https://discuss.gradle.org/u/pmmhjj)\
**Replies:** 1\
**Last updated:** [November 15, 2016, 9:02am UTC](https://discuss.gradle.org/t/i-have-gotten-an-issue-when-i-using-gradle-and-jmockit-for-unit-test/20400 "2016-11-15T09:02:55Z")

</div>

04:44:42.961 \[ERROR\] \[system.err\] 04:44:42.958 \[ERROR\] \[org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection\] Unexpected exception thrown. 04:44:42.961 \[ERROR\] \[system.err\] org.gradle.internal.remote…

---

## [Apply from: absolute path failure](https://discuss.gradle.org/t/apply-from-absolute-path-failure/20369)

<div class="topic-metadata">

**Author:** [@gubo](https://discuss.gradle.org/u/gubo)\
**Replies:** 1\
**Last updated:** [November 15, 2016, 8:57am UTC](https://discuss.gradle.org/t/apply-from-absolute-path-failure/20369 "2016-11-15T08:57:04Z")

</div>

Gradle 2.14.1 Android Studio on Windows apply from: new File( "/Mobile/signing/SimpleDeal/keys.gradle" ) storeFile new File( "/Mobile/signing/SimpleDeal/SimpleDeal.jks" ) storeFile is ok, but apply from wont consid…

---

## [Artifact resolution failure with multiple Maven resolvers](https://discuss.gradle.org/t/artifact-resolution-failure-with-multiple-maven-resolvers/20408)

<div class="topic-metadata">

**Author:** [@varju](https://discuss.gradle.org/u/varju)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 11:08pm UTC](https://discuss.gradle.org/t/artifact-resolution-failure-with-multiple-maven-resolvers/20408 "2016-11-10T23:08:44Z")

</div>

Hi there, We've been seeing some sporadic failures that we believe to be a bug, but we're not 100% confident that we aren't doing something wrong. Gradle Version: 3.1 Operating System and JVM version: macOS 10.12 Is …

---

## [Sync task should delete target files if it has no inputs](https://discuss.gradle.org/t/sync-task-should-delete-target-files-if-it-has-no-inputs/14084)

<div class="topic-metadata">

**Author:** [@jochenberger](https://discuss.gradle.org/u/jochenberger)\
**Replies:** 3\
**Last updated:** [November 9, 2016, 5:40pm UTC](https://discuss.gradle.org/t/sync-task-should-delete-target-files-if-it-has-no-inputs/14084 "2016-11-09T17:40:06Z")

</div>

def test = file('test') def target = file('target') def testFile = file('test/foo.txt') task clean \<\< { delete test, target } task createFile { outputs.files testFile doLast { test.mkdirs() testFile.text …

---

## [Bug reporting moved to GitHub](https://discuss.gradle.org/t/bug-reporting-moved-to-github/20375)

<div class="topic-metadata">

**Author:** [@eriwen](https://discuss.gradle.org/u/eriwen)\
**Replies:** 0\
**Last updated:** [November 8, 2016, 11:36pm UTC](https://discuss.gradle.org/t/bug-reporting-moved-to-github/20375 "2016-11-08T23:36:07Z")

</div>

Good news, everyone. We have opened GitHub Issues! Please submit bug reports following the guidelines when submitting. The Bugs category is now read-only. For general usage questions and potential bugs for which no rep…

---

## [Gradle 3.1 seems to default to maven.metadata.legacy=true](https://discuss.gradle.org/t/gradle-3-1-seems-to-default-to-maven-metadata-legacy-true/20362)

<div class="topic-metadata">

**Author:** [@jniedrauer](https://discuss.gradle.org/u/jniedrauer)\
**Replies:** 5\
**Last updated:** [November 8, 2016, 6:38pm UTC](https://discuss.gradle.org/t/gradle-3-1-seems-to-default-to-maven-metadata-legacy-true/20362 "2016-11-08T18:38:49Z")

</div>

I have a project which is published to a nexus repository using the maven-publish plugin, and from there, some third party tools parse maven-metadata.xml. It works perfectly in gradle 2.12, but since updating to gradle 3…

---

## [JUnit Category Filtering, forkEvery, TestRunners](https://discuss.gradle.org/t/junit-category-filtering-forkevery-testrunners/19832)

<div class="topic-metadata">

**Author:** [@jwa](https://discuss.gradle.org/u/jwa)\
**Replies:** 1\
**Last updated:** [November 8, 2016, 9:06am UTC](https://discuss.gradle.org/t/junit-category-filtering-forkevery-testrunners/19832 "2016-11-08T09:06:32Z")

</div>

Hi All, I have what I consider to be a bug, relating to the invocation of JUnit tests. I am attempting to use the JVM @Catgegory annotation to filter the tests that should be executed by my build. This allows me to a…

---

## [Automatic detection of Visual Studio Community 2015 RC not working properly](https://discuss.gradle.org/t/automatic-detection-of-visual-studio-community-2015-rc-not-working-properly/10309)

<div class="topic-metadata">

**Author:** [@sherter](https://discuss.gradle.org/u/sherter)\
**Replies:** 9\
**Last updated:** [November 7, 2016, 10:11pm UTC](https://discuss.gradle.org/t/automatic-detection-of-visual-studio-community-2015-rc-not-working-properly/10309 "2016-11-07T22:11:59Z")

</div>

I have installed Visual Studio Community 2015 RC in it’s default location. Gradle seems to pick up the location through the registry \[1\], but the compilation fails because standard headers (e.g. stdio.h) are not found. W…

---

## [$. syntax within project scope](https://discuss.gradle.org/t/syntax-within-project-scope/19771)

<div class="topic-metadata">

**Author:** [@davidfa](https://discuss.gradle.org/u/davidfa)\
**Replies:** 4\
**Last updated:** [November 7, 2016, 9:40am UTC](https://discuss.gradle.org/t/syntax-within-project-scope/19771 "2016-11-07T09:40:22Z")

</div>

Not sure if this is a potential bug, my misunderstanding: Take the simple example from the variant docs model { tasks { buildAllExecutables(Task) { dependsOn $.binaries.findAll { it.buildable …

---

## [Accessing project.properties before configuring 'publishing' extension causes a strange error](https://discuss.gradle.org/t/accessing-project-properties-before-configuring-publishing-extension-causes-a-strange-error/20328)

<div class="topic-metadata">

**Author:** [@kt3k](https://discuss.gradle.org/u/kt3k)\
**Replies:** 0\
**Last updated:** [November 5, 2016, 4:19am UTC](https://discuss.gradle.org/t/accessing-project-properties-before-configuring-publishing-extension-causes-a-strange-error/20328 "2016-11-05T04:19:41Z")

</div>

apply plugin: 'maven-publish' println properties\['some.property'\] publishing { publications { maven(MavenPublication) { } } } The above script causes the error with the message below whe…

---

## [Gradle 3.1 jansi ClassDefNotFound](https://discuss.gradle.org/t/gradle-3-1-jansi-classdefnotfound/19978)

<div class="topic-metadata">

**Author:** [@Spencer\_Allain](https://discuss.gradle.org/u/Spencer_Allain)\
**Replies:** 4\
**Last updated:** [November 3, 2016, 6:49pm UTC](https://discuss.gradle.org/t/gradle-3-1-jansi-classdefnotfound/19978 "2016-11-03T18:49:44Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: Linux primarily any JVM Is this a regression? If yes, which version of Gradle do you know it last worked for? Yes, worked in 3.0 With the upgrade to jansi 1.1…

---

## [Could not evaluate onlyIf predicate for task](https://discuss.gradle.org/t/could-not-evaluate-onlyif-predicate-for-task/20316)

<div class="topic-metadata">

**Author:** [@MrRamych](https://discuss.gradle.org/u/MrRamych)\
**Replies:** 0\
**Last updated:** [November 3, 2016, 6:26pm UTC](https://discuss.gradle.org/t/could-not-evaluate-onlyif-predicate-for-task/20316 "2016-11-03T18:26:28Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: windows 7 1.8.0\_92 (Oracle Corporation 25.92-b14) https://scans.gradle.com/s/tdqfslguz3ioq https://github.com/OpenSecreto/SigmaCoin/blob/a6ae4441e1c456f727dba9c18c…

---

## [Gradle not using maven profiles correctly](https://discuss.gradle.org/t/gradle-not-using-maven-profiles-correctly/20303)

<div class="topic-metadata">

**Author:** [@Renari](https://discuss.gradle.org/u/Renari)\
**Replies:** 0\
**Last updated:** [November 3, 2016, 1:31am UTC](https://discuss.gradle.org/t/gradle-not-using-maven-profiles-correctly/20303 "2016-11-03T01:31:34Z")

</div>

Gradle Version: 2.5 Operating System and JVM version: Windows 10, Java 1.8.0\_91 Is this a regression? Not that I'm aware of. group 'MFC' version '1.0-SNAPSHOT' apply plugin: 'java' sourceCompatibility = 1.5 re…

---

## [Regression in gradle 3.2-rc1 PMD plugin processing](https://discuss.gradle.org/t/regression-in-gradle-3-2-rc1-pmd-plugin-processing/20278)

<div class="topic-metadata">

**Author:** [@tjoneslo](https://discuss.gradle.org/u/tjoneslo)\
**Replies:** 7\
**Last updated:** [November 2, 2016, 11:10pm UTC](https://discuss.gradle.org/t/regression-in-gradle-3-2-rc1-pmd-plugin-processing/20278 "2016-11-02T23:10:32Z")

</div>

While using gradle 2.14.1 with the pmd plugin and PMD 5.1.2 :ckcqlclient:pmdIntegrationTest :ckcqlclient:pmdMain :ckcqlclient:pmdTest If I change the Gradle version to 3.2-rc1 (no other changes) I get the following: …

---

## [Can't compile with source-jar in classpath: empty sourcePath](https://discuss.gradle.org/t/cant-compile-with-source-jar-in-classpath-empty-sourcepath/20300)

<div class="topic-metadata">

**Author:** [@avivey](https://discuss.gradle.org/u/avivey)\
**Replies:** 0\
**Last updated:** [November 2, 2016, 8:54pm UTC](https://discuss.gradle.org/t/cant-compile-with-source-jar-in-classpath-empty-sourcepath/20300 "2016-11-02T20:54:46Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: Linux, Java 1.8.0\_101 (Oracle Corporation 25.101-b13) Used to work in 2.3 I think this is a bug/misfeature of the incubating org.gradle.api.tasks.compile.Compile…

---

## [Gradle 3.1 createDistribution task fails with a NPE](https://discuss.gradle.org/t/gradle-3-1-createdistribution-task-fails-with-a-npe/19847)

<div class="topic-metadata">

**Author:** [@tjoneslo](https://discuss.gradle.org/u/tjoneslo)\
**Replies:** 2\
**Last updated:** [November 2, 2016, 1:26pm UTC](https://discuss.gradle.org/t/gradle-3-1-createdistribution-task-fails-with-a-npe/19847 "2016-11-02T13:26:40Z")

</div>

I am in the process of switching our build system from gradle 2.14.1 (where this isn't present) to 3.1 (where the build fails). I've tried this with and without parallel mode and with and without the daemon. Same failure…

---

## [Build Fails to Copy Resources with Special Characters in File Name](https://discuss.gradle.org/t/build-fails-to-copy-resources-with-special-characters-in-file-name/20294)

<div class="topic-metadata">

**Author:** [@cjbooms](https://discuss.gradle.org/u/cjbooms)\
**Replies:** 1\
**Last updated:** [November 2, 2016, 1:11pm UTC](https://discuss.gradle.org/t/build-fails-to-copy-resources-with-special-characters-in-file-name/20294 "2016-11-02T13:11:45Z")

</div>

When files in the resources folder have file names containing supplementary characters / surrogate pairs, Gradle is not capable of copying them to the build folder and fails hard. Gradle Version: 3.1 Operating Syste…

---

## [3.2RC1 classnotfoundexception resolving cached task results using gradle daemon](https://discuss.gradle.org/t/3-2rc1-classnotfoundexception-resolving-cached-task-results-using-gradle-daemon/20228)

<div class="topic-metadata">

**Author:** [@bs-git](https://discuss.gradle.org/u/bs-git)\
**Replies:** 8\
**Last updated:** [November 1, 2016, 2:33pm UTC](https://discuss.gradle.org/t/3-2rc1-classnotfoundexception-resolving-cached-task-results-using-gradle-daemon/20228 "2016-11-01T14:33:57Z")

</div>

Gradle Version: 3.1, 3.2RC1 Operating System and JVM version: windows 10, Java 8 Is this a regression? YES: worked in 3.0, 2.xx There seems to be a regression related to the gradle daemon or task result caching and cl…

---

## [Android Studio: Unable to start the daemon process](https://discuss.gradle.org/t/android-studio-unable-to-start-the-daemon-process/12359)

<div class="topic-metadata">

**Author:** [@Alex85](https://discuss.gradle.org/u/Alex85)\
**Replies:** 2\
**Last updated:** [November 1, 2016, 11:15am UTC](https://discuss.gradle.org/t/android-studio-unable-to-start-the-daemon-process/12359 "2016-11-01T11:15:03Z")

</div>

Good afternoon! Sorry, After installing the Android Studio shows an error: Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized j…

---

## [Gradle's javac somehow ignores @SuppressWarnings annotations](https://discuss.gradle.org/t/gradles-javac-somehow-ignores-suppresswarnings-annotations/20241)

<div class="topic-metadata">

**Author:** [@trejkaz](https://discuss.gradle.org/u/trejkaz)\
**Replies:** 2\
**Last updated:** [October 31, 2016, 10:47pm UTC](https://discuss.gradle.org/t/gradles-javac-somehow-ignores-suppresswarnings-annotations/20241 "2016-10-31T22:47:16Z")

</div>

I'm trying to get our warning count down. (To zero, if possible, but let's start by trying to get it down to 4 digits.) One of the big offenders is ANTLR-generated Java code, because it seems to generate code optimised t…

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