# Old Forum Archive

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

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

**Page:** 3

---

## [Java-gradle-plugin and idea plugin incompatibilities](https://discuss.gradle.org/t/java-gradle-plugin-and-idea-plugin-incompatibilities/19940)

<div class="topic-metadata">

**Author:** [@dkesler](https://discuss.gradle.org/u/dkesler)\
**Replies:** 1\
**Last updated:** [October 11, 2016, 10:25am UTC](https://discuss.gradle.org/t/java-gradle-plugin-and-idea-plugin-incompatibilities/19940 "2016-10-11T10:25:37Z")

</div>

Gradle Version: 2.14.1 Operating System and JVM version: Ubuntu 14.04, java 1.8.0\_91 Is this a regression? No I'm writing a plugin and added the 'java-gradle-plugin' plugin to use with GradleRunner for testing purposes…

---

## [System Property Leakage via the Tooling API](https://discuss.gradle.org/t/system-property-leakage-via-the-tooling-api/19937)

<div class="topic-metadata">

**Author:** [@lkishalmi](https://discuss.gradle.org/u/lkishalmi)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 4:36pm UTC](https://discuss.gradle.org/t/system-property-leakage-via-the-tooling-api/19937 "2016-10-10T16:36:53Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: Ubuntu 16.04.1, Java 8 Is this a regression? I do not think so. Link to a minimal sample project: https://github.com/lkishalmi/gradle-tooling-sysprop I'm working …

---

## [Problem with Gradle play plugin: Could not copy MANIFEST.MF / Multiple entries with same key](https://discuss.gradle.org/t/problem-with-gradle-play-plugin-could-not-copy-manifest-mf-multiple-entries-with-same-key/19880)

<div class="topic-metadata">

**Author:** [@Szczepan\_Faber](https://discuss.gradle.org/u/Szczepan_Faber)\
**Replies:** 1\
**Last updated:** [October 11, 2016, 4:34am UTC](https://discuss.gradle.org/t/problem-with-gradle-play-plugin-could-not-copy-manifest-mf-multiple-entries-with-same-key/19880 "2016-10-11T04:34:10Z")

</div>

On Gradle 3.1, we noticed following exception when using Gradle play plugin on our sample project. :common:createPlayBinaryDistributionJar FAILURE: Build failed with an exception. \* What went wrong: Multiple entrie…

---

## [Android Studio not finding a Gradle task](https://discuss.gradle.org/t/android-studio-not-finding-a-gradle-task/19909)

<div class="topic-metadata">

**Author:** [@jorisk](https://discuss.gradle.org/u/jorisk)\
**Replies:** 2\
**Last updated:** [October 10, 2016, 11:52am UTC](https://discuss.gradle.org/t/android-studio-not-finding-a-gradle-task/19909 "2016-10-10T11:52:42Z")

</div>

Hello, I have a little problem with Gradle since I updated to Android Studio 2.2. When I open a project, I can build it but when I hit “Run”, I have this error: Error:Execution failed for task ‘:app:transformNative\_l…

---

## [Bug in project.file(..) on Windows](https://discuss.gradle.org/t/bug-in-project-file-on-windows/19917)

<div class="topic-metadata">

**Author:** [@ethankhall](https://discuss.gradle.org/u/ethankhall)\
**Replies:** 1\
**Last updated:** [October 7, 2016, 10:05pm UTC](https://discuss.gradle.org/t/bug-in-project-file-on-windows/19917 "2016-10-07T22:05:36Z")

</div>

Looks like there is a bug in project.file() on Windows. If you add to a build script println new File('/any') println project.file(new File('/any')) You'll get something like: \\any C:\\projects\\junit5\\any from th…

---

## [TaskContainer replace throws documentation](https://discuss.gradle.org/t/taskcontainer-replace-throws-documentation/19921)

<div class="topic-metadata">

**Author:** [@joebowbeer](https://discuss.gradle.org/u/joebowbeer)\
**Replies:** 0\
**Last updated:** [October 7, 2016, 10:04pm UTC](https://discuss.gradle.org/t/taskcontainer-replace-throws-documentation/19921 "2016-10-07T22:04:58Z")

</div>

Documentation for the two replace methods erroneously indicates that an exception is thrown if the task already exists: https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/TaskContainer.html Throws: Inv…

---

## [A default test is generated for a native executable](https://discuss.gradle.org/t/a-default-test-is-generated-for-a-native-executable/19902)

<div class="topic-metadata">

**Author:** [@nreznik](https://discuss.gradle.org/u/nreznik)\
**Replies:** 1\
**Last updated:** [October 7, 2016, 12:49pm UTC](https://discuss.gradle.org/t/a-default-test-is-generated-for-a-native-executable/19902 "2016-10-07T12:49:21Z")

</div>

I have a C++ native library and an executable (which links with the library) in my project. I'd like to add unit tests only for the library. In my build.gradle file, I have components { mylibrary(NativeLibraryS…

---

## [Gradle wrapper task generates wrong zipStorePath in wrapper properties](https://discuss.gradle.org/t/gradle-wrapper-task-generates-wrong-zipstorepath-in-wrapper-properties/19906)

<div class="topic-metadata">

**Author:** [@gfelbing](https://discuss.gradle.org/u/gfelbing)\
**Replies:** 0\
**Last updated:** [October 7, 2016, 9:19am UTC](https://discuss.gradle.org/t/gradle-wrapper-task-generates-wrong-zipstorepath-in-wrapper-properties/19906 "2016-10-07T09:19:23Z")

</div>

When updating the gradle wrapper by changing the task task wrapper( type: Wrapper ) { gradleVersion = '2.14.1' archiveBase = Wrapper.PathBase.PROJECT archivePath = 'gradle/wrapper/dists' } …

---

## [Module baseService compiles only with JDK 1.8 compliance](https://discuss.gradle.org/t/module-baseservice-compiles-only-with-jdk-1-8-compliance/19885)

<div class="topic-metadata">

**Author:** [@zosrothko](https://discuss.gradle.org/u/zosrothko)\
**Replies:** 8\
**Last updated:** [October 7, 2016, 6:39am UTC](https://discuss.gradle.org/t/module-baseservice-compiles-only-with-jdk-1-8-compliance/19885 "2016-10-07T06:39:41Z")

</div>

Hi The subproject baseService compiles cleanly only with a JDK's compliance of 1.8. With a 1.7 compliance, one gets the errors below Description Resource Path Location Type The method addAll(Collection\<?…

---

## [Gradlew eclipse should generates a JDK 1.6 compliance instead of 1.5](https://discuss.gradle.org/t/gradlew-eclipse-should-generates-a-jdk-1-6-compliance-instead-of-1-5/19883)

<div class="topic-metadata">

**Author:** [@zosrothko](https://discuss.gradle.org/u/zosrothko)\
**Replies:** 5\
**Last updated:** [October 6, 2016, 1:33pm UTC](https://discuss.gradle.org/t/gradlew-eclipse-should-generates-a-jdk-1-6-compliance-instead-of-1-5/19883 "2016-10-06T13:33:38Z")

</div>

Hi The eclipse task should generates .settings/org.eclipse.jdt.core.prefs with a org.eclipse.jdt.core.compiler.compliance equals to 1.6 instead of 1.5 as show below, otherwise all @override annotation lines are marked …

---

## [Dependency resolution, classifiers and Maven interoperability](https://discuss.gradle.org/t/dependency-resolution-classifiers-and-maven-interoperability/12388)

<div class="topic-metadata">

**Author:** [@thokuest](https://discuss.gradle.org/u/thokuest)\
**Replies:** 7\
**Last updated:** [October 5, 2016, 4:43pm UTC](https://discuss.gradle.org/t/dependency-resolution-classifiers-and-maven-interoperability/12388 "2016-10-05T16:43:43Z")

</div>

Hi Gradle experts, We have a number of Maven and Gradle projects here and I thought it is a good idea to use mavenLocal() to consume artifacts generated by Maven (especially those under development). Now I'm confronte…

---

## [Gradle daemon holds a lock on a jar dependency referenced via fileTree](https://discuss.gradle.org/t/gradle-daemon-holds-a-lock-on-a-jar-dependency-referenced-via-filetree/18465)

<div class="topic-metadata">

**Author:** [@Lance\_Java](https://discuss.gradle.org/u/Lance_Java)\
**Replies:** 5\
**Last updated:** [October 5, 2016, 2:41pm UTC](https://discuss.gradle.org/t/gradle-daemon-holds-a-lock-on-a-jar-dependency-referenced-via-filetree/18465 "2016-10-05T14:41:06Z")

</div>

Gradle Version / Operating System: Build time: 2016-06-14 07:16:37 UTC Revision: cba5fea19f1e0c6a00cc904828a6ec4e11739abc Groovy: 2.4.4 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 …

---

## [TestKit somehow excludes compileOnly dependencies](https://discuss.gradle.org/t/testkit-somehow-excludes-compileonly-dependencies/19842)

<div class="topic-metadata">

**Author:** [@henryju](https://discuss.gradle.org/u/henryju)\
**Replies:** 6\
**Last updated:** [October 5, 2016, 8:57am UTC](https://discuss.gradle.org/t/testkit-somehow-excludes-compileonly-dependencies/19842 "2016-10-05T08:57:52Z")

</div>

Hi guys, Gradle Version: 3.1 Operating System and JVM version: Windows / JDK 8 Background: the sonarqube plugin extract some information from other plugins configuration. For Android projects, we are using Android pl…

---

## [Play project runPlayBinary task logging problems](https://discuss.gradle.org/t/play-project-runplaybinary-task-logging-problems/19876)

<div class="topic-metadata">

**Author:** [@cmjartan](https://discuss.gradle.org/u/cmjartan)\
**Replies:** 0\
**Last updated:** [October 5, 2016, 7:45am UTC](https://discuss.gradle.org/t/play-project-runplaybinary-task-logging-problems/19876 "2016-10-05T07:45:03Z")

</div>

I've created a simple multi-module setup with one module using the play plugin. I also placed a logback.xml into the conf/ folder and added the neccessary logback dependencies to the play configuration. If I run grad…

---

## [zipTree using Groovy with Gradle3.1](https://discuss.gradle.org/t/ziptree-using-groovy-with-gradle3-1/19749)

<div class="topic-metadata">

**Author:** [@rainman4007](https://discuss.gradle.org/u/rainman4007)\
**Replies:** 7\
**Last updated:** [October 4, 2016, 3:25pm UTC](https://discuss.gradle.org/t/ziptree-using-groovy-with-gradle3-1/19749 "2016-10-04T15:25:41Z")

</div>

We have been using gradle copy task with zipTree inside it and since we have updated to latest gradle3.1 version, it starts to throw an error about not being able to unzip the files and hence wont copy to destination. …

---

## [Running gradlew quickTest --no-daemon fails](https://discuss.gradle.org/t/running-gradlew-quicktest-no-daemon-fails/19863)

<div class="topic-metadata">

**Author:** [@zosrothko](https://discuss.gradle.org/u/zosrothko)\
**Replies:** 0\
**Last updated:** [October 4, 2016, 12:00pm UTC](https://discuss.gradle.org/t/running-gradlew-quicktest-no-daemon-fails/19863 "2016-10-04T12:00:29Z")

</div>

Hi Running gradlew quickTest --no-daemon fails with the error below org.gradle.language.groovy.GroovyCompilerContinuousIntegrationTest \> reuses compiler daemons across continuous build instances FAILED java.lan…

---

## [Gradle 3.1 yields NoClassDefFoundError from Jython-Netty-Client](https://discuss.gradle.org/t/gradle-3-1-yields-noclassdeffounderror-from-jython-netty-client/19860)

<div class="topic-metadata">

**Author:** [@ThiporKong](https://discuss.gradle.org/u/ThiporKong)\
**Replies:** 0\
**Last updated:** [October 4, 2016, 9:54am UTC](https://discuss.gradle.org/t/gradle-3-1-yields-noclassdeffounderror-from-jython-netty-client/19860 "2016-10-04T09:54:09Z")

</div>

Hi, after switching to Gradle 3.1, I get now the following output from my builds (regardless whether successful or not): BUILD SUCCESSFUL Total time: 10 mins 25.753 secs Exception in thread "Jython-Netty-Client-4"…

---

## [baseName isn't applied for 64bit debug mode in cpp plugin](https://discuss.gradle.org/t/basename-isnt-applied-for-64bit-debug-mode-in-cpp-plugin/19814)

<div class="topic-metadata">

**Author:** [@Emily](https://discuss.gradle.org/u/Emily)\
**Replies:** 2\
**Last updated:** [October 4, 2016, 9:41am UTC](https://discuss.gradle.org/t/basename-isnt-applied-for-64bit-debug-mode-in-cpp-plugin/19814 "2016-10-04T09:41:13Z")

</div>

I’m building a mixed Java and C++ (JNI) library project called avio and I’m having some issues with the baseName property not being properly applied for combination debug and x86\_64 while it is being applied to all othe…

---

## [OutOfMemoryError when running JUnit tests with many console println()-s](https://discuss.gradle.org/t/outofmemoryerror-when-running-junit-tests-with-many-console-println-s/14428)

<div class="topic-metadata">

**Author:** [@mbutov](https://discuss.gradle.org/u/mbutov)\
**Replies:** 3\
**Last updated:** [October 1, 2016, 1:00pm UTC](https://discuss.gradle.org/t/outofmemoryerror-when-running-junit-tests-with-many-console-println-s/14428 "2016-10-01T13:00:00Z")

</div>

When running JUnit test which produces many EOLs in its output, Gradle gets OutOfMemoryError. The example is here: https://github.com/mbutov/gradle-oom. In this example: \* Maximum heap size for tests: 128m \* Total si…

---

## [Gradle daemon filling memory](https://discuss.gradle.org/t/gradle-daemon-filling-memory/17819)

<div class="topic-metadata">

**Author:** [@Redrield](https://discuss.gradle.org/u/Redrield)\
**Replies:** 1\
**Last updated:** [October 1, 2016, 12:48pm UTC](https://discuss.gradle.org/t/gradle-daemon-filling-memory/17819 "2016-10-01T12:48:51Z")

</div>

So when I first installed gradle, I enabled the daemon to speed up the build time of my projects, but when working on one of them, my computer had me close some processes, in order to free up memory. When I checked Task …

---

## [JavaExec task mangles UTF-8 output](https://discuss.gradle.org/t/javaexec-task-mangles-utf-8-output/10975)

<div class="topic-metadata">

**Author:** [@raelik](https://discuss.gradle.org/u/raelik)\
**Replies:** 2\
**Last updated:** [October 1, 2016, 9:34am UTC](https://discuss.gradle.org/t/javaexec-task-mangles-utf-8-output/10975 "2016-10-01T09:34:38Z")

</div>

Given enough occurrences of multi-byte UTF-8 characters in the output of a java task, Gradle will eventually mangle one of them, replacing each byte with 0xEFBFBD (replacement character). Some test code to reproduce thi…

---

## [Dependency resolution issue](https://discuss.gradle.org/t/dependency-resolution-issue/19830)

<div class="topic-metadata">

**Author:** [@Oraculo](https://discuss.gradle.org/u/Oraculo)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 11:06pm UTC](https://discuss.gradle.org/t/dependency-resolution-issue/19830 "2016-09-30T23:06:43Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: Debian Wheezy, JSDK 1.8 I have few patched jars for legacy code. Ant build worked fine because it has all jars committed to SCM. During migration to Gradle I identi…

---

## [Cannot apply spring-boot-gradle plugin in own plugin with gradle 3.0](https://discuss.gradle.org/t/cannot-apply-spring-boot-gradle-plugin-in-own-plugin-with-gradle-3-0/19516)

<div class="topic-metadata">

**Author:** [@seakayone](https://discuss.gradle.org/u/seakayone)\
**Replies:** 4\
**Last updated:** [September 30, 2016, 3:14pm UTC](https://discuss.gradle.org/t/cannot-apply-spring-boot-gradle-plugin-in-own-plugin-with-gradle-3-0/19516 "2016-09-30T15:14:18Z")

</div>

I have created a minimal plugin which is reproducing my error: https://github.com/seakayone/gradle-plugin-example If you build this with gradle version 2.14.1 it will pass but building this with gradle 3.0 will fail wi…

---

## [Wrong version format in JavaVersion for Java 9](https://discuss.gradle.org/t/wrong-version-format-in-javaversion-for-java-9/19820)

<div class="topic-metadata">

**Author:** [@swpalmer](https://discuss.gradle.org/u/swpalmer)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 2:02pm UTC](https://discuss.gradle.org/t/wrong-version-format-in-javaversion-for-java-9/19820 "2016-09-30T14:02:08Z")

</div>

org.gradle.api.JavaVersion contains: VERSION\_1\_9 https://docs.gradle.org/current/javadoc/org/gradle/api/JavaVersion.html#VERSION\_1\_9 It should be VERSION\_9

---

## [Multiproject build with Android, Play and Idea fails](https://discuss.gradle.org/t/multiproject-build-with-android-play-and-idea-fails/19819)

<div class="topic-metadata">

**Author:** [@simon\_harrer](https://discuss.gradle.org/u/simon_harrer)\
**Replies:** 0\
**Last updated:** [September 30, 2016, 1:17pm UTC](https://discuss.gradle.org/t/multiproject-build-with-android-play-and-idea-fails/19819 "2016-09-30T13:17:58Z")

</div>

Gradle Version: 3.1 Operating System and JVM version: Windows 10 Pro with Oracle JDK 8\_103 Is this a regression? If yes, which version of Gradle do you know it last worked for? No regression. https://scans.gradle.co…

---

## [Test task intermittently fails with "Could not find matching test for pattern"](https://discuss.gradle.org/t/test-task-intermittently-fails-with-could-not-find-matching-test-for-pattern/19807)

<div class="topic-metadata">

**Author:** [@vl\_strugatsky](https://discuss.gradle.org/u/vl_strugatsky)\
**Replies:** 1\
**Last updated:** [September 30, 2016, 7:36am UTC](https://discuss.gradle.org/t/test-task-intermittently-fails-with-could-not-find-matching-test-for-pattern/19807 "2016-09-30T07:36:20Z")

</div>

Gradle 2.3: we use the -Dtest.single argument and run the task on TeamCity. In about 30% of cases, the task fails with: Could not find matching test for pattern: C2PSeleniumSendingSiteTests \[17:23:52\] \[17:23:52…

---

## [Gradle 3.1 copytask error](https://discuss.gradle.org/t/gradle-3-1-copytask-error/19761)

<div class="topic-metadata">

**Author:** [@ankits1](https://discuss.gradle.org/u/ankits1)\
**Replies:** 4\
**Last updated:** [September 29, 2016, 4:11pm UTC](https://discuss.gradle.org/t/gradle-3-1-copytask-error/19761 "2016-09-29T16:11:10Z")

</div>

I am seeing an ERROR with I use the copy task with gradle 3.1. Can anyone help here? Caused by: org.gradle.api.GradleException: Could not add file '/Users/xxxx/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotati…

---

## [Native syntax error on testSuites definition](https://discuss.gradle.org/t/native-syntax-error-on-testsuites-definition/19789)

<div class="topic-metadata">

**Author:** [@zosrothko](https://discuss.gradle.org/u/zosrothko)\
**Replies:** 5\
**Last updated:** [September 29, 2016, 12:31pm UTC](https://discuss.gradle.org/t/native-syntax-error-on-testsuites-definition/19789 "2016-09-29T12:31:15Z")

</div>

Hi I got a syntax error on the following snippet testSuites { PocoFoundationTest(CUnitTestSuiteSpec) { testing $.components.PocoFoundation } } build file 'b…

---

## [\-SNAPSHOT versions is not working](https://discuss.gradle.org/t/snapshot-versions-is-not-working/19738)

<div class="topic-metadata">

**Author:** [@mflis](https://discuss.gradle.org/u/mflis)\
**Replies:** 0\
**Last updated:** [September 27, 2016, 10:50am UTC](https://discuss.gradle.org/t/snapshot-versions-is-not-working/19738 "2016-09-27T10:50:10Z")

</div>

In my project use -SNAPSHOT dependencies. Recently I noticed, that changing module does not have any effect. Example: My version is defined as follows"1.1.0-SNAPSHOT". I made an experiment. I used myConfig.resol…

---

## [Project dependency picks up a lower version](https://discuss.gradle.org/t/project-dependency-picks-up-a-lower-version/19747)

<div class="topic-metadata">

**Author:** [@bond](https://discuss.gradle.org/u/bond)\
**Replies:** 5\
**Last updated:** [September 28, 2016, 8:17pm UTC](https://discuss.gradle.org/t/project-dependency-picks-up-a-lower-version/19747 "2016-09-28T20:17:26Z")

</div>

The project seems to pickup an older version of commons-beanutils instead of the new one. I am unsure of what went wrong after upgrading the version number of commons-beantuils. Current configuration root\\build.gradle …

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

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