gradle

Cannot set web-uri with gradle ear plugin to inclue war from maven repository

烈酒焚心 提交于 2021-02-11 18:22:17
问题 I'm using gradle-1.7 and trying to create ear with war file from maven repository. dependencies { deploy group: 'aaa', name: 'bbb', version: '1.0-SNAPSHOT' } This successfully download war file from maven repo and bbb-1.0-SNAPSHOT.war is included in the generated ear file. However, the generated application.xml file is as the following: <module> <web> <web-uri>bbb</web-uri> ... How can I fix the web-uri node to include full war file name? 回答1: Using the EAR plugin you can specify the web

Cannot set web-uri with gradle ear plugin to inclue war from maven repository

╄→гoц情女王★ 提交于 2021-02-11 18:21:54
问题 I'm using gradle-1.7 and trying to create ear with war file from maven repository. dependencies { deploy group: 'aaa', name: 'bbb', version: '1.0-SNAPSHOT' } This successfully download war file from maven repo and bbb-1.0-SNAPSHOT.war is included in the generated ear file. However, the generated application.xml file is as the following: <module> <web> <web-uri>bbb</web-uri> ... How can I fix the web-uri node to include full war file name? 回答1: Using the EAR plugin you can specify the web

error: cannot find symbol class Android Studio

随声附和 提交于 2021-02-11 17:42:37
问题 This error hapens after update mac osx or system (I don't know). It was after I open project that I closed one weak ago. My settings.gradles is: include ':app' , ':api', ':daogenerator' project(':mobilneapi').projectDir = new File("/Users/AndroidstudioProjects/Modules/api") project(':daogenerator').projectDir = new File("/Users/AndroidstudioProjects/Modules/daogenerator") And my app gradle: apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.1"

How to merge client and server builds into one jar with gradle?

◇◆丶佛笑我妖孽 提交于 2021-02-11 17:35:43
问题 I have a project with the following structure: web-client/ # Angular Client build/ build.gradle server/ # Spring Boot Application build/ build.gradle build.gradle # The "parent" project. Works on web-client and server The parent is supposed to copy the compiled web-application into server/build/classes/static such that it will be copied to /BOOT-INF/classes/ of the final jar where it will be served by the Spring Boot server. Everything is working so far except the last part. Those files are

Gradle fails to build at Test

浪子不回头ぞ 提交于 2021-02-11 17:18:20
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is

Gradle fails to build at Test

眉间皱痕 提交于 2021-02-11 17:14:32
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is

Gradle fails to build at Test

£可爱£侵袭症+ 提交于 2021-02-11 17:14:13
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is

Gradle fails to build at Test

五迷三道 提交于 2021-02-11 17:14:12
问题 I have a spring boot project that has multiple modules each with its own gradle file. Spring boot version: 1.5.2.RELEASE gradle version:3.4 server (which includes main class) and other configurations shared (Utility classes used by other modules) service (module with various repository and services) transaction (module which handles transaction) I need to write test for the project but I cannot change the project structure. I created a test in my transaction module. The parent gradle file is

Firebase App Distribution with apk splits unable to find apk

 ̄綄美尐妖づ 提交于 2021-02-11 17:05:06
问题 I'm trying to bend firebase app distribution to work with apk splits. I almost have it, however my issue is this Could not find the APK. Make sure you build first by running ./gradlew assemble[Variant], or set the apkPath parameter to point to your APK My task task firebaseAllEnvRelease() { group = "publishing" dependsOn ordered( ":printVersionCode", ":foo:app:assembleAllRelease" ":foo:app:firebasePublishAllEnvRelease") } For whatever reason, the firebase task runs the apk check (not upload)

./gradlew assembleRelease build failing when updated to react native 59.8 & gradle to 5.1

只谈情不闲聊 提交于 2021-02-11 15:31:35
问题 Before updating react-native to 59.8 and gradle to 5.1, I can take build using ./gradlew assembleRelease. When I updated react native to 59.8 and gradle to 5.1, I got following error * What went wrong: Execution failed for task ':react-native-app-settings:verifyReleaseResources'. > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed \node_modules\react-native-app-settings\android\build\intermediates\res\merged\release