Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Gradle - build fails
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
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".
Hi 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.
Powered by Liferay™