gradlew

A gradle task take long time to execute and doesn't produce any response. I want to execute that task and move on to next task

时光毁灭记忆、已成空白 提交于 2020-07-10 08:43:44
问题 Inside build.gradle file: task updateJson(){ //updates a json file } task Conn(type: NodeTask, dependsOn: updateJson){ script = file("connect.js") } yarn_test.dependsOn Conn Console Output: :updateJson :Conn Before config :: Connect.js has been executed. Your app is now listening to port 6062. <===========--> 85% EXECUTING > :Conn After that, the yarn_test doesn't start. The task Conn is used to establish a connection and it doesn't return any execution response/result. It only enables

Gradle : Unable to generate QueryDSL classes

主宰稳场 提交于 2020-06-28 03:55:36
问题 Gradle version: 5.1 Java version: 11 I have the following task defined in gradle file to generate QueryDSL classes: task generateQClasses (type: JavaCompile) { source = sourceSets.main.java.srcDirs classpath = sourceSets.main.compileClasspath destinationDir = file('src/main/java') options.annotationProcessorPath = configurations.annotationProcessor options.compilerArgs = ['-proc:only', '-processor', 'com.querydsl.apt.jpa.JPAAnnotationProcessor', '-Aquerydsl.packageSuffix=.querydsl'] } Below

NativeScript ./gradlew failed with exit code 1

ε祈祈猫儿з 提交于 2020-06-17 13:12:25
问题 Problem On Windows Subsystem Linux (WSL), during tns run android command: A problem was found with the configuration of task ':app:signingConfigWriterDebug'. File specified for property 'signingConfig.storeFile' does not exist. ./gradlew failed with exit code 1 回答1: Solution Copy platforms/android/~ directory to platforms/android/app/~ . 来源: https://stackoverflow.com/questions/61028194/nativescript-gradlew-failed-with-exit-code-1

Spring Boot Application Deployment Issue

こ雲淡風輕ζ 提交于 2020-05-17 03:43:47
问题 Hi Friends, I'm new to the spring boot framework. i have completed simple spring boot application so i'm going to deploy spring application in my server (Windows 10 64 Bits) I'm Using Gradle as my project build tool I'm Trying to get Jar / War File Using the following Commands ./gradlew war ./gradlew bootWar ./gradlew bootJar I'm Successfully Getting Jar/War Files But I'm Try to Run the file using following Command java -jar application.jar But i'm getting the Following Error: Exception in

Getting errors when runing javafx11 on raspberry pi using gradle

不打扰是莪最后的温柔 提交于 2020-04-18 12:35:07
问题 I am able to build my javafx11 application, but I get errors when running it using ./gradlew run The error I get says something about unable to open DISPLAY I have tried on both a terminal only install of raspbian and a full desktop install as well. So far I have done these things: 1) Install bellsoft full jdk 2) git clone gradle project 3) ./gradlew run What am I doing wrong? 回答1: Nevermind, I figured it out after much, much more googling. I ended up using nodm . 来源: https://stackoverflow

Getting errors when runing javafx11 on raspberry pi using gradle

孤者浪人 提交于 2020-04-18 12:33:35
问题 I am able to build my javafx11 application, but I get errors when running it using ./gradlew run The error I get says something about unable to open DISPLAY I have tried on both a terminal only install of raspbian and a full desktop install as well. So far I have done these things: 1) Install bellsoft full jdk 2) git clone gradle project 3) ./gradlew run What am I doing wrong? 回答1: Nevermind, I figured it out after much, much more googling. I ended up using nodm . 来源: https://stackoverflow

Getting errors when runing javafx11 on raspberry pi using gradle

安稳与你 提交于 2020-04-18 12:33:07
问题 I am able to build my javafx11 application, but I get errors when running it using ./gradlew run The error I get says something about unable to open DISPLAY I have tried on both a terminal only install of raspbian and a full desktop install as well. So far I have done these things: 1) Install bellsoft full jdk 2) git clone gradle project 3) ./gradlew run What am I doing wrong? 回答1: Nevermind, I figured it out after much, much more googling. I ended up using nodm . 来源: https://stackoverflow

Caching the Gradle wrapper in AWS CodeBuild

一个人想着一个人 提交于 2020-04-11 06:04:14
问题 This is what my current buildspec looks like: phases: build: commands: - ./gradlew soakTest -s cache: paths: - '/root/.gradle/caches/**/*' - '.gradle/**/*' But when this buildspec runs in CodeBuild, it prints messages that it is downloading gradle 4.7. It appears that other things are being cached correctly - I don't see log messages about downloading jar dependencies, for example. What should the buildspec cache specifications look like, in order to make sure the Gradle version that the

R8 throws NullPointerException from within AndroidStudio, but not from commandline via gradlew

蓝咒 提交于 2020-02-28 15:40:49
问题 Problem When I click on the debug icon in Android Studio, I get this NullPointerException from R8. Executing tasks: [:app:assembleDebug] in project /Users/gary/Developer/Foo/Foo-Android > Task :app:preBuild UP-TO-DATE > Task :app:preDebugBuild UP-TO-DATE > Task :app:checkDebugManifest UP-TO-DATE > Task :app:generateDebugBuildConfig UP-TO-DATE > Task :app:compileDebugAidl NO-SOURCE > Task :app:compileDebugRenderscript NO-SOURCE > Task :app:mainApkListPersistenceDebug > Task :app

gradle > Task :app:externalNativeBuildDebug FAILED android_gradle_build.json (No such file or directory)

最后都变了- 提交于 2020-02-28 13:35:07
问题 I am trying to build an android project from the command line using ./gradlew app:assembleDebug However when I build the task fails with: > Task :app:externalNativeBuildDebug FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:externalNativeBuildDebug'. > java.io.FileNotFoundException: /Users/hcwiley/MyProject/app/.externalNativeBuild/cmake/debug/arm64-v8a/android_gradle_build.json (No such file or directory) If I run Sync Project with Gradle