Closed Cristianjss closed 6 years ago
running and older gradle version?
On Nov 16, 2017, at 9:09 PM, Cristianjss notifications@github.com wrote:
I´m getting the following error, adding the version
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:2.14.6"
Failed to apply plugin [id 'asset-pipeline']
No such property: COMPILE_ONLY_CONFIGURATION_NAME for class: org.gradle.api.plugins.JavaPlugin
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bertramdev/asset-pipeline/issues/188, or mute the thread https://github.com/notifications/unsubscribe-auth/AABaEobY2pZoqpz0V1XY1r0fXrV02q8kks5s3OrKgaJpZM4Qhbmw.
Hi, I have the same issue creating a brand new grails 3.3.2 project.
grails create-app
command.build.gradle
change gradle.plugin.com.energizedwork.webdriver-binaries:webdriver-binaries-gradle-plugin
version from 1.1
to 1.2
due to another problem./grailsw help
Got error below instead of help
| Resolving Dependencies. Please wait...
Cannot resolve reloading agent JAR: Could not resolve all dependencies for configuration ':agent'.
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/fran/Code/grails-example/build.gradle' line: 24
* What went wrong:
A problem occurred evaluating root project 'grails-example'.
> Failed to apply plugin [id 'asset-pipeline']
> No such property: COMPILE_ONLY_CONFIGURATION_NAME for class: org.gradle.api.plugins.JavaPlugin
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 8.84 secs
| Error Error initializing classpath: No such property: COMPILE_ONLY_CONFIGURATION_NAME for class: org.gradle.api.plugins.JavaPlugin (Use --stacktrace to see the full trace)
I had the same message using the Intellij create Domain Class
functionality.
You have to update your Gradle version to the lastest one, that works for me.
Well thank you, I tried but it dit no work for me. Here is what I did :
gradle.properties
, setting gradleWrapperVersion=4.4
./gradlew wrapper
to update./grailsw help
I still have the same error, maybe I missed something ?
Theres a bug around this with grails wrapper. It doesnt default to using the cradle wrapper annoyingly. It uses whatever sdkman is set at by default
On Dec 14, 2017, at 1:07 PM, François Kha notifications@github.com wrote:
Well thank you, I tried but it dit no work for me. Here is what I did :
editing gradle.properties , setting gradleWrapperVersion=4.4 running ./gradlew wrapper to update running ./grailsw help I still have the same error, maybe I missed something ?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bertramdev/asset-pipeline/issues/188#issuecomment-351790842, or mute the thread https://github.com/notifications/unsubscribe-auth/AABaEkGyEkyFHpPuzKiU_mJTds9QQqzsks5tAWPtgaJpZM4Qhbmw.
OK, disabling sdkman works for me. Annoying bug indeed.
Thank you very much.
going to close this since its a grails wrapper issue
I´m getting the following error, adding the version
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:2.14.6"
Failed to apply plugin [id 'asset-pipeline']