# Old Forum Archive

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

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

**Page:** 8

---

## [ClassCastException in Gradle Nightly 3.0-20160609](https://discuss.gradle.org/t/classcastexception-in-gradle-nightly-3-0-20160609/17979)

<div class="topic-metadata">

**Author:** [@Kirill\_Rakhman](https://discuss.gradle.org/u/Kirill_Rakhman)\
**Replies:** 4\
**Last updated:** [August 17, 2016, 7:36am UTC](https://discuss.gradle.org/t/classcastexception-in-gradle-nightly-3-0-20160609/17979 "2016-08-17T07:36:19Z")

</div>

Gradle Version: gradle-3.0-20160609000015+0000 Operating System: Windows 10 64 bit Is this a regression? If yes, which version of Gradle do you know it last worked for? Yes, gradle-3.0-20160531000033+0000 After upgrad…

---

## [No private key authentication for ivy publish](https://discuss.gradle.org/t/no-private-key-authentication-for-ivy-publish/18981)

<div class="topic-metadata">

**Author:** [@fiskl](https://discuss.gradle.org/u/fiskl)\
**Replies:** 5\
**Last updated:** [August 17, 2016, 4:24am UTC](https://discuss.gradle.org/t/no-private-key-authentication-for-ivy-publish/18981 "2016-08-17T04:24:49Z")

</div>

The 'ivy-publish' plugin does not allow private key authentication, unlike the 'maven-publish' plugin. This prevents people from using gradle in organizations where ivy is used on a server without password authenticatio…

---

## [WAR plugin configuration lifecycle regression in Gradle 3.0](https://discuss.gradle.org/t/war-plugin-configuration-lifecycle-regression-in-gradle-3-0/18985)

<div class="topic-metadata">

**Author:** [@cmcginty](https://discuss.gradle.org/u/cmcginty)\
**Replies:** 2\
**Last updated:** [August 17, 2016, 3:46am UTC](https://discuss.gradle.org/t/war-plugin-configuration-lifecycle-regression-in-gradle-3-0/18985 "2016-08-17T03:46:55Z")

</div>

My build relies on having 'runtime' configuration unresolved before the execution phase. This is no longer the case in the 3.0. Is this a regression or breaking change in the War plugin? apply plugin:'war' defaultTask…

---

## [Gradle command-line arguments can no longer be passed in buildship with Eclipse](https://discuss.gradle.org/t/gradle-command-line-arguments-can-no-longer-be-passed-in-buildship-with-eclipse/18972)

<div class="topic-metadata">

**Author:** [@sc1478](https://discuss.gradle.org/u/sc1478)\
**Replies:** 4\
**Last updated:** [August 16, 2016, 4:58pm UTC](https://discuss.gradle.org/t/gradle-command-line-arguments-can-no-longer-be-passed-in-buildship-with-eclipse/18972 "2016-08-16T16:58:42Z")

</div>

Gradle Version: 3.0 and 2.14.1, buildship 1.0.17.v20160713-0853 Operating System: Windows Is this a regression? If yes, which version of Gradle do you know it last worked for? If I attempt to add command-line switch…

---

## [Gradle 3.0 - FindBugsTest - Linux](https://discuss.gradle.org/t/gradle-3-0-findbugstest-linux/18960)

<div class="topic-metadata">

**Author:** [@jaredsburrows](https://discuss.gradle.org/u/jaredsburrows)\
**Replies:** 3\
**Last updated:** [August 16, 2016, 2:22pm UTC](https://discuss.gradle.org/t/gradle-3-0-findbugstest-linux/18960 "2016-08-16T14:22:04Z")

</div>

Gradle: 3.0 Command: ./gradlew clean check cobertura coveralls -Dscan --configure-on-demand --daemon --parallel --stacktrace --console=plain -Dorg.gradle.jvmargs="-Dfile.encoding=UTF-8" Build: https://travis-ci.org/jared…

---

## [Error - Native-platform posix files is not available](https://discuss.gradle.org/t/error-native-platform-posix-files-is-not-available/18936)

<div class="topic-metadata">

**Author:** [@Evgeny](https://discuss.gradle.org/u/Evgeny)\
**Replies:** 1\
**Last updated:** [August 16, 2016, 1:18pm UTC](https://discuss.gradle.org/t/error-native-platform-posix-files-is-not-available/18936 "2016-08-16T13:18:19Z")

</div>

Gradle Version: 2.14.1 Operating System: Windows 7x64, AMD Core2Duo 2Gz, 4Gb RAM I’m novice with Gradle. My USER\_HOME/.gradle/gradle.settings: org.gradle.parallel=true org.gradle.daemon=true Downloaded Gradle from …

---

## [Default excludes / includes in Jar task](https://discuss.gradle.org/t/default-excludes-includes-in-jar-task/18855)

<div class="topic-metadata">

**Author:** [@krulls](https://discuss.gradle.org/u/krulls)\
**Replies:** 3\
**Last updated:** [August 15, 2016, 8:57am UTC](https://discuss.gradle.org/t/default-excludes-includes-in-jar-task/18855 "2016-08-15T08:57:03Z")

</div>

The Jar task is packing all Java code to a .jar file in a Gradle Java project. It is a mystery to me which files are accepted for the jar file. Attached you find a sample Java project (created with buildship) with a sour…

---

## [\[Solved\] Hang in dependency resolution when running parallel](https://discuss.gradle.org/t/solved-hang-in-dependency-resolution-when-running-parallel/18605)

<div class="topic-metadata">

**Author:** [@Remon\_Sinnema](https://discuss.gradle.org/u/Remon_Sinnema)\
**Replies:** 3\
**Last updated:** [August 15, 2016, 8:06am UTC](https://discuss.gradle.org/t/solved-hang-in-dependency-resolution-when-running-parallel/18605 "2016-08-15T08:06:03Z")

</div>

Gradle Version: 2.14.1 Operating System: Linux & Windows Is this a regression? Dunno With org.gradle.parallel=false my multi-project build completes normally, but with org.gradle.parallel=true it hangs. This started ha…

---

## [Changing module not expired when using Artifactory](https://discuss.gradle.org/t/changing-module-not-expired-when-using-artifactory/18902)

<div class="topic-metadata">

**Author:** [@ntyler](https://discuss.gradle.org/u/ntyler)\
**Replies:** 4\
**Last updated:** [August 12, 2016, 9:19pm UTC](https://discuss.gradle.org/t/changing-module-not-expired-when-using-artifactory/18902 "2016-08-12T21:19:53Z")

</div>

Gradle Version: 2.14.1 Operating System: Ubuntu 14.04 LTS Is this a regression? If yes, which version of Gradle do you know it last worked for? No I have a library hosted in Artifactory, and I have it marked as chan…

---

## [\[Solved\] Custom plugin in 2.14.1: Project#logger is not usable](https://discuss.gradle.org/t/solved-custom-plugin-in-2-14-1-project-logger-is-not-usable/18922)

<div class="topic-metadata">

**Author:** [@chinhmu](https://discuss.gradle.org/u/chinhmu)\
**Replies:** 2\
**Last updated:** [August 12, 2016, 4:26pm UTC](https://discuss.gradle.org/t/solved-custom-plugin-in-2-14-1-project-logger-is-not-usable/18922 "2016-08-12T16:26:13Z")

</div>

Gradle Version: 2.14.1 Operating System: Fedora 24 Is this a regression? If yes, which version of Gradle do you know it last worked for? No Sample code: apply plugin: 'java' apply plugin: Test class Test impl…

---

## [fileTree as Incremental Task Input includes added directories](https://discuss.gradle.org/t/filetree-as-incremental-task-input-includes-added-directories/18877)

<div class="topic-metadata">

**Author:** [@ramonwirsch](https://discuss.gradle.org/u/ramonwirsch)\
**Replies:** 1\
**Last updated:** [August 10, 2016, 7:00am UTC](https://discuss.gradle.org/t/filetree-as-incremental-task-input-includes-added-directories/18877 "2016-08-10T07:00:55Z")

</div>

Hi, I found what seems like a bug, or at least missing documentation. I have an Incremental Task that uses a FileCollection (created with fileTree()) as input (@InputFiles). fileTree is configured to scan a specific di…

---

## [Problem with Idea plugin while updating to Gradle 2.14](https://discuss.gradle.org/t/problem-with-idea-plugin-while-updating-to-gradle-2-14/18206)

<div class="topic-metadata">

**Author:** [@brianpreuss](https://discuss.gradle.org/u/brianpreuss)\
**Replies:** 3\
**Last updated:** [August 10, 2016, 6:33am UTC](https://discuss.gradle.org/t/problem-with-idea-plugin-while-updating-to-gradle-2-14/18206 "2016-08-10T06:33:52Z")

</div>

After upgrading to Gradle 2.14 from 2.13 I'm getting this build error originating from the Idea plugin ./gradlew clean build --stacktrace :buildSrc:compileJava UP-TO-DATE :buildSrc:compileGroovy UP-TO-DATE :buildSrc…

---

## [Project dependencies participate in conflict resolution](https://discuss.gradle.org/t/project-dependencies-participate-in-conflict-resolution/18875)

<div class="topic-metadata">

**Author:** [@Danny\_Thomas1](https://discuss.gradle.org/u/Danny_Thomas1)\
**Replies:** 1\
**Last updated:** [August 9, 2016, 6:07pm UTC](https://discuss.gradle.org/t/project-dependencies-participate-in-conflict-resolution/18875 "2016-08-09T18:07:02Z")

</div>

Gradle Version: 2.13 Operating System: macOS Is this a regression? No If a binary dependency comes into a multiproject build that's provided by that project (technically a circular dependency, but it happens), the proj…

---

## [Gradle 2.6-rc-1 Classloader issue](https://discuss.gradle.org/t/gradle-2-6-rc-1-classloader-issue/10858)

<div class="topic-metadata">

**Author:** [@ywelsch](https://discuss.gradle.org/u/ywelsch)\
**Replies:** 5\
**Last updated:** [August 9, 2016, 12:28pm UTC](https://discuss.gradle.org/t/gradle-2-6-rc-1-classloader-issue/10858 "2016-08-09T12:28:09Z")

</div>

Finally the Play functionality has arrived in Gradle :smile: We have an issue with the classloader hierarchy in Play when using runPlayBinary. The Gradle Classloader contains libraries in an older version that shadow s…

---

## [System.console().readLine(..) is broken since Gradle 2.13](https://discuss.gradle.org/t/system-console-readline-is-broken-since-gradle-2-13/18659)

<div class="topic-metadata">

**Author:** [@Fernando\_Rubbo](https://discuss.gradle.org/u/Fernando_Rubbo)\
**Replies:** 3\
**Last updated:** [August 7, 2016, 11:35pm UTC](https://discuss.gradle.org/t/system-console-readline-is-broken-since-gradle-2-13/18659 "2016-08-07T23:35:34Z")

</div>

Gradle Version: 2.13 + Operating System: Linux Is this a regression? 2.12 Output whenever executing System.console().readLine('\\nType "y" to accept: ') on Gradle 2.12 fernando@fernote:./gradlew testConsole \[task ':t…

---

## [Gradle 2.12 stalls with recursive configurations](https://discuss.gradle.org/t/gradle-2-12-stalls-with-recursive-configurations/18809)

<div class="topic-metadata">

**Author:** [@rschiu](https://discuss.gradle.org/u/rschiu)\
**Replies:** 2\
**Last updated:** [August 6, 2016, 1:15am UTC](https://discuss.gradle.org/t/gradle-2-12-stalls-with-recursive-configurations/18809 "2016-08-06T01:15:47Z")

</div>

Gradle Version: 2.12 Operating System: Linux Regression: Yes, last working version is 2.11 Gradle takes forever to configure when Configuration extendsFrom other Configuration recusively. Below is a build.gradle that …

---

## [Maven-publish not outputting dependencies to pom](https://discuss.gradle.org/t/maven-publish-not-outputting-dependencies-to-pom/10916)

<div class="topic-metadata">

**Author:** [@Dmodoomsirius](https://discuss.gradle.org/u/Dmodoomsirius)\
**Replies:** 14\
**Last updated:** [August 5, 2016, 9:21pm UTC](https://discuss.gradle.org/t/maven-publish-not-outputting-dependencies-to-pom/10916 "2016-08-05T21:21:24Z")

</div>

Is maven-publish plugin supposed to have the dependencies in the pom i found https://discuss.gradle.org/t/using-the-maven-publish-plugin-no-dependencies-in-pom-xml/7599/38?u=dmodoomsirius but in gradle 2.5 It is not. any…

---

## [\[Solved\] Maven-publish does not generate POM with dependencies](https://discuss.gradle.org/t/solved-maven-publish-does-not-generate-pom-with-dependencies/18830)

<div class="topic-metadata">

**Author:** [@swpalmer](https://discuss.gradle.org/u/swpalmer)\
**Replies:** 1\
**Last updated:** [August 5, 2016, 8:03pm UTC](https://discuss.gradle.org/t/solved-maven-publish-does-not-generate-pom-with-dependencies/18830 "2016-08-05T20:03:45Z")

</div>

Gradle Version: 2.14.1 Operating System: Windows 10 Is this a regression? If yes, which version of Gradle do you know it last worked for? apply plugin: 'java' apply plugin: 'maven-publish' version = '1.0' group = 'exa…

---

## [Can gradle set runtime dependencies from compile dependencies?](https://discuss.gradle.org/t/can-gradle-set-runtime-dependencies-from-compile-dependencies/18819)

<div class="topic-metadata">

**Author:** [@aw1621107](https://discuss.gradle.org/u/aw1621107)\
**Replies:** 9\
**Last updated:** [August 5, 2016, 6:38pm UTC](https://discuss.gradle.org/t/can-gradle-set-runtime-dependencies-from-compile-dependencies/18819 "2016-08-05T18:38:09Z")

</div>

I am using bits and pieces from the Java Units of Measurement project in my application. My code compiles when gradle build is invoked, but gradle run fails with a ClassNotFoundException, followed by different UoM classe…

---

## [NoClassDefFoundError: groovy/util/AntBuilder](https://discuss.gradle.org/t/noclassdeffounderror-groovy-util-antbuilder/18831)

<div class="topic-metadata">

**Author:** [@ethankhall](https://discuss.gradle.org/u/ethankhall)\
**Replies:** 4\
**Last updated:** [August 5, 2016, 5:53pm UTC](https://discuss.gradle.org/t/noclassdeffounderror-groovy-util-antbuilder/18831 "2016-08-05T17:53:50Z")

</div>

Hi all, I've notice that moving to 3.0-rc-1 my plugin tests have started to fail with: Caused by: java.lang.NoClassDefFoundError: groovy/util/AntBuilder at java.lang.ClassLoader.defineClass(ClassLoader.java:760) …

---

## [Gradle 3.0 RC 1 - unknown property 'startParameter'](https://discuss.gradle.org/t/gradle-3-0-rc-1-unknown-property-startparameter/18801)

<div class="topic-metadata">

**Author:** [@champton](https://discuss.gradle.org/u/champton)\
**Replies:** 1\
**Last updated:** [August 4, 2016, 4:18am UTC](https://discuss.gradle.org/t/gradle-3-0-rc-1-unknown-property-startparameter/18801 "2016-08-04T04:18:15Z")

</div>

Swapped out Gradle 2.14.1 for 3.0 to do some compatibility testing and I get the following error in line 2 of my settings.gradle file: Could not get unknown property 'startParameter' for object of type org.gradle.api.i…

---

## [java.util.EmptyStackException throws from imported ANT tasks](https://discuss.gradle.org/t/java-util-emptystackexception-throws-from-imported-ant-tasks/18687)

<div class="topic-metadata">

**Author:** [@river](https://discuss.gradle.org/u/river)\
**Replies:** 4\
**Last updated:** [August 3, 2016, 3:01pm UTC](https://discuss.gradle.org/t/java-util-emptystackexception-throws-from-imported-ant-tasks/18687 "2016-08-03T15:01:00Z")

</div>

Gradle Version: 2.14.1 Operating System: Windows 7(64bit) Is this a regression? If yes, which version of Gradle do you know it last worked for? We have experienced an EmptyStackException thrown from an imported AN…

---

## [Gradlew could be more portable if it didn't require bash](https://discuss.gradle.org/t/gradlew-could-be-more-portable-if-it-didnt-require-bash/18317)

<div class="topic-metadata">

**Author:** [@dsyer](https://discuss.gradle.org/u/dsyer)\
**Replies:** 8\
**Last updated:** [August 3, 2016, 11:41am UTC](https://discuss.gradle.org/t/gradlew-could-be-more-portable-if-it-didnt-require-bash/18317 "2016-08-03T11:41:28Z")

</div>

The standard gradlew script starts #!/usr/bin/env bash but "bash" is not available on many systems, including a large class of docker containers that people like to use for building Java projects these days (anything bas…

---

## [Use /bin/sh instead of bash in "startScripts" generated by the "application" plugin](https://discuss.gradle.org/t/use-bin-sh-instead-of-bash-in-startscripts-generated-by-the-application-plugin/17053)

<div class="topic-metadata">

**Author:** [@lneiva](https://discuss.gradle.org/u/lneiva)\
**Replies:** 2\
**Last updated:** [August 2, 2016, 12:02pm UTC](https://discuss.gradle.org/t/use-bin-sh-instead-of-bash-in-startscripts-generated-by-the-application-plugin/17053 "2016-08-02T12:02:08Z")

</div>

The generated application start scripts use bash by default: #!/usr/bin/env bash Most of the time this is not much of a problem. But with the increasing benefits of cloud infrastructure and containerization, some sys…

---

## [Current Gradle HEAD tries parsing .zip as XML/pom](https://discuss.gradle.org/t/current-gradle-head-tries-parsing-zip-as-xml-pom/18340)

<div class="topic-metadata">

**Author:** [@huxi](https://discuss.gradle.org/u/huxi)\
**Replies:** 2\
**Last updated:** [August 2, 2016, 6:22am UTC](https://discuss.gradle.org/t/current-gradle-head-tries-parsing-zip-as-xml-pom/18340 "2016-08-02T06:22:15Z")

</div>

Commit 1ad2067edd620bdb418c1ee5fde8bea2f33a4546 \[Fatal Error\] docbook-xsl-1.75.2.zip:2:1: Content is not allowed in prolog. Finished at: 2016-07-05T10:31:13.195 FAILURE: Build failed with an exception. \* What went …

---

## [Gradle thinks 2.10 is less than 2.2 when resolving plugins](https://discuss.gradle.org/t/gradle-thinks-2-10-is-less-than-2-2-when-resolving-plugins/13434)

<div class="topic-metadata">

**Author:** [@brindy](https://discuss.gradle.org/u/brindy)\
**Replies:** 6\
**Last updated:** [August 2, 2016, 1:52am UTC](https://discuss.gradle.org/t/gradle-thinks-2-10-is-less-than-2-2-when-resolving-plugins/13434 "2016-08-02T01:52:43Z")

</div>

I have an Android Studio project and upgraded the gradle-wrapper to use 2.10. I now get the following error: A problem occurred evaluating project ':app'. \> Failed to apply plugin \[id 'com.android.application'\] \>…

---

## [Gradle shouldn't require C++ compiler to build pure C programs](https://discuss.gradle.org/t/gradle-shouldnt-require-c-compiler-to-build-pure-c-programs/18763)

<div class="topic-metadata">

**Author:** [@jvff](https://discuss.gradle.org/u/jvff)\
**Replies:** 0\
**Last updated:** [August 1, 2016, 1:14pm UTC](https://discuss.gradle.org/t/gradle-shouldnt-require-c-compiler-to-build-pure-c-programs/18763 "2016-08-01T13:14:46Z")

</div>

On Linux with only gcc installed (without g++), Gradle fails to build any program because it attempts to call g++ to link the program. The cause seems to be in: subprojects/platform-native/src/main/java/org/gradle/na…

---

## [2.14.1 Won't build from sources!](https://discuss.gradle.org/t/2-14-1-wont-build-from-sources/18758)

<div class="topic-metadata">

**Author:** [@bedbad](https://discuss.gradle.org/u/bedbad)\
**Replies:** 5\
**Last updated:** [August 1, 2016, 3:51am UTC](https://discuss.gradle.org/t/2-14-1-wont-build-from-sources/18758 "2016-08-01T03:51:37Z")

</div>

Last version won't build from sources(with wrapper 2) it has multiple bugs. So.. has gradle ceased from being opensource at all(I know it's a company product for a long time) - meaning you don't openly(at github) coopera…

---

## [Plugin publishing doesn't include super-configuration dependencies](https://discuss.gradle.org/t/plugin-publishing-doesnt-include-super-configuration-dependencies/18051)

<div class="topic-metadata">

**Author:** [@Danny\_Thomas1](https://discuss.gradle.org/u/Danny_Thomas1)\
**Replies:** 3\
**Last updated:** [July 29, 2016, 8:00am UTC](https://discuss.gradle.org/t/plugin-publishing-doesnt-include-super-configuration-dependencies/18051 "2016-07-29T08:00:02Z")

</div>

This plugin has a separate configuration that compile extends from, however the published pom does not contain those dependencies: https://github.com/nebula-plugins/gradle-lint-plugin/blob/master/build.gradle#L60-L71 h…

---

## [Unable to add task inputs for inline tasks in 3.0 M2](https://discuss.gradle.org/t/unable-to-add-task-inputs-for-inline-tasks-in-3-0-m2/18587)

<div class="topic-metadata">

**Author:** [@ethankhall](https://discuss.gradle.org/u/ethankhall)\
**Replies:** 3\
**Last updated:** [July 27, 2016, 6:52pm UTC](https://discuss.gradle.org/t/unable-to-add-task-inputs-for-inline-tasks-in-3-0-m2/18587 "2016-07-27T18:52:57Z")

</div>

Running a plugin built with 2.x, I get this error: Caused by: java.lang.NoSuchMethodError: org.gradle.api.tasks.TaskInputs.files(\[Ljava/lang/Object;)Lorg/gradle/api/tasks/TaskInputs; at com.linkedin.ligradle.int…

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

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