gradle

    0熱度

    2回答

    更新TeamCity的版本號我有如下一個gradle這個構建腳本: buildscript { repositories { //Some repo } dependencies { classpath "com.palantir.gradle.gitversion:gradle-git-version:0.8.0" }

    0熱度

    1回答

    當我使用gradle構建項目時,我一直在爲Spring雲合同收到此錯誤。任何線索? * What went wrong: Execution failed for task ':generateContractTests'. > java.lang.NullPointerException (no error message) * Try: Run with --info or --de

    1熱度

    1回答

    在文檔(4.7.3 Show task usage details)的詳細信息,文中說,這是可能有關於使用類似的一個或多個任務的詳細信息: gradle -q help --task libs 這是工作在這種情況下有一項任務(libs)。 如何打印多個任務的詳細信息? --task用於多任務的參數格式是什麼?

    1熱度

    1回答

    我能有2.10版本的搖籃和build.gradle內定義的3.0版的包裝? task wrapper(type: Wrapper) { gradleVersion = "3.0" }

    1熱度

    1回答

    我有一個劇本的build.gradle: buildscript { repositories { //some repo dependencies { classpath "com.palantir.gradle.gitversion:gradle-git-version:0.8.0" } } } apply plug

    0熱度

    1回答

    我正面臨着使用Gradle的limitation/issue。 我有兩個使用Gradle的多項目構建,我們稱之爲modules-technical和modules-business。 這是我modules-businesssetting.gradle: rootProject.name = 'modules-business' include 'business-core' .. snip b

    0熱度

    1回答

    我有一個.net項目,我使用MSBuild插件構建gradle。在最後一項任務中,我想創建一個.msi或.exe安裝程序,包括構建步驟中的dll。目前gradle這個構建腳本如下所示: buildscript { repositories { mavenCentral() jcenter() maven { url "https://pl

    0熱度

    2回答

    我是新來的gradle,並得到了一個巨大的項目與很多依賴項。 但是,我建立了一個特定的jar,我想用它來代替依賴關係中的jar。 在的build.gradle我有依賴關係共同點: 「com.company.was.common.utils:是常見-utils的:$ {} wasUtilsCommonVersion」, 的依賴,我需要變化如下: +--- com.company.was.utils.

    0熱度

    1回答

    當我試圖建立我的應用程序它的建設過程停止顯示的logcat以下消息它的示值誤差 Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api。 transform.TransformException:java.util.zip.ZipException:

    0熱度

    1回答

    我有一個gradle項目,主要是使用java插件。在subproj1 - 通過子程序build.gradle文件也使用應用程序插件。它在子項目中運行良好,可以編譯jar(帶有主類)並創建分發zip文件(使用資源和dist文件)。 現在我想構建一個'main'dist zip文件,包含所有這些subproj內容的內容。我發現我可以運行installDist來解壓縮到每個子項目build/instal