Comments (8)
I had the same problem as you using Gradle 2.1 and went back to Gradle 1.8. After doing so Gradle informed me this was unnecessary:
"The groovy configuration has been deprecated and is scheduled to be removed in Gradle 2.0. Typically, usages of 'groovy' can simply be replaced with 'compile'. In some cases, it may be necessary to additionally configure the 'groovyClasspath' property of GroovyCompile and Groovydoc tasks."
I upgraded to Gradle 2.2, and running Gradle tasks were successful after changing 'groovy' dependency configs to 'compile'. I tried with both the wrapper and the native install of gradle.
Presumably Gradle 2.1 would have also worked; I stayed with 2.2 since I already put forth the effort of installing it (originally in the hopes that 2.1 -> 2.2 was the solution.)
from jenkins-build-per-branch.
More output with --stacktrace
and --debug
:
https://gist.github.com/tknerr/5314611de7ef30339eb4
from jenkins-build-per-branch.
I seem to get past that error by using Gradle 1.12 instead of 2.0
from jenkins-build-per-branch.
Solution: use Gradle 1.x :-)
from jenkins-build-per-branch.
@tinyrye
I am new to gradle. There is below line in dependencies block in build.gradle file.
groovy 'org.codehaus.groovy:groovy:2.2.1'
Why do we require this. This is breaking build with gradle 2.2.1 version. What is the use of it and alternative of it.
Please point me to the link where i can study this.
from jenkins-build-per-branch.
I know this is a little bit old but getting same error using Gradle 2.3 or 2.7, is this issue has ever been address? any solution?
Thanks
from jenkins-build-per-branch.
+1
from jenkins-build-per-branch.
It's a legacy declaration for using groovy in earlier Gradle 1.x versions. That's why it's good practice to include the gradle wrapper in gradle projects, and hence why it's suggested to use gradlew
within this project while running it as opposed to your local host systems installation of gradle.
from jenkins-build-per-branch.
Related Issues (20)
- Couldn't find crumbIssuer for Jenkins HOT 1
- Caused by: java.lang.Exception: Unexpected failure on /job/build/doDelete: HTTP/1.1 403 Forbidden 403
- :syncWithRepo FAILED
- Support Multiple SCM Plugin HOT 2
- Server Error 500 issues with scalability? HOT 3
- Need a bit more control over git branch name propagation
- Support for Nested View without views creation
- Unable to find any jobs matching template regex: ^(myProject-[^-]*)-(feature)$ HOT 1
- Issue when creating a new job from a new branch HOT 2
- Not requiring something in the middle between prefix and branch name HOT 2
- Incorrect branch names in newly spawned jobs HOT 4
- Columns of a nested view are not created in Jenkins ver. 1.609.1 HOT 4
- Downstream builds are updating with correct project name HOT 1
- NullPointerException while dryrunning and generating branches
- Does not work with version of 2.x of gradle
- Newly cloned jobs are not buildable and therefore polling does not work HOT 5
- Documentation page is down HOT 2
- Too "loose" regex in nested views
- Error 403 (forbidden) if security is enabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jenkins-build-per-branch.