Message Boards
Gradle - build fails
Ramalingaiah. D, modified 4 Years ago.
Gradle - build fails
Expert Posts: 486 Join Date: 8/16/14 Recent Posts
Hi,
Working Directory: E:\techonomile\eclipse\FEDANALITICS\wars\venus-theme
Gradle User Home: C:\Users\zygnum121\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 3.0
Java Home: C:\Program Files\Java\jdk1.8.0_191
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
Gradle Tasks: deploy:wars:venus-theme:buildTheme FAILEDFAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':wars:venus-theme:buildTheme'.
> com.liferay.gradle.plugins.theme.builder.BuildThemeTask.setArgs(Ljava/util/List;)Lorg/gradle/api/tasks/JavaExec;* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILEDTotal time: 0.226 secs
please suggest me RegardsRam
Working Directory: E:\techonomile\eclipse\FEDANALITICS\wars\venus-theme
Gradle User Home: C:\Users\zygnum121\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 3.0
Java Home: C:\Program Files\Java\jdk1.8.0_191
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
Gradle Tasks: deploy:wars:venus-theme:buildTheme FAILEDFAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':wars:venus-theme:buildTheme'.
> com.liferay.gradle.plugins.theme.builder.BuildThemeTask.setArgs(Ljava/util/List;)Lorg/gradle/api/tasks/JavaExec;* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILEDTotal time: 0.226 secs
please suggest me RegardsRam
Christoph Rabel, modified 4 Years ago.
RE: Gradle - build fails
Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Please check if you hit this problem:
https://liferay.dev/forums/-/message_boards/message/113726573
If not, a few more details about your error would be nice.
Can you please tell us your Liferay version, workspace version (the dependencies in settings.gradle).
Did it work before? Is it a new theme? Did you change anything?
As suggested in the error message, please try again with "--stacktrace --info --debug".
https://liferay.dev/forums/-/message_boards/message/113726573
If not, a few more details about your error would be nice.
Can you please tell us your Liferay version, workspace version (the dependencies in settings.gradle).
Did it work before? Is it a new theme? Did you change anything?
As suggested in the error message, please try again with "--stacktrace --info --debug".
Ramalingaiah Dudimetla, modified 1 Year ago.
RE: Gradle - build fails
New Member Posts: 22 Join Date: 3/4/20 Recent PostsHi Christoph Rabel,
1. liferay version 7.1 dxp.
buildscript {
dependencies {
classpath group:
"com.liferay", name:
"com.liferay.gradle.plugins.workspace", version:
"1.10.9"
classpath group:
"net.saliman", name: "gradle-properties-plugin",
version: "1.4.6"
//cssBuilder group:
"com.liferay", name: "com.liferay.css.builder",
version: "2.1.3"
//portalCommonCss group:
"com.liferay", name:
"com.liferay.frontend.common", version:
"3.0.1"
}
repositories {
maven {
url
"https://repository-cdn.liferay.com/nexus/content/groups/public"
}
}
}
apply plugin: "net.saliman.properties"
apply plugin: "com.liferay.workspace"
it is not working.