How can i call a task for unzip file when i am downloading dependencies with...
i wanna create a task to download dependencies and to execute my task for unzipping files at the same time , it means a task to download dependencies and to call other task. Thank you
View ArticleGradle 6.5 Create Java Executable Jar with Deps
Thanks for the response. This is definitely what I am looking for. Some inline comments would make this solution even more helpful, but I will take what I can get. Hopefully this will help others...
View ArticleGradle doesn't add modules to module-path during compile
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
View ArticleGradle doesn't add modules to module-path during compile
I am using modularity.inferModulePath = true with Gradle 6.4 but I still can’t get it to compile without this: java { modularity.inferModulePath = true tasks.withType(JavaCompile) { doFirst {...
View ArticleMaven BOM in the Gradle way
Hello everyone whats the Gradle way to implement the same concept of Bill of materials to create a library or even common microservices dependencies (Java 1.8)
View ArticleFailed to load native library 'libnative-platform.dylib' for Mac OS X x86_64
I am trying to run some gradle tasks on a old project. The project uses Java 8 and gradle 3.4.1. When I run a simple command using the gradle wrapper, for example ./gradlew clean I get the error...
View ArticleBuild failed after upgrading to Android Studio 4
Did you manage to solve this? I’m having the exact same issue. The build works on Linux and Mac but fails on Windows 10 May 2020 update. I’m using the latest stable Android Studio version with kotlin...
View ArticleHow to add a class / an enum to settings gradle script on gradle 6.0+?
I want to add an enum called modules with the path of the sub module and some compilation types. I used to have this in the buildSrc before gradle 6 and it was accessible in the settings.gradle But...
View Articlebuild.gradle issue
Hi, I can’t proceeding Spring boot web + build.gradle setting… please help me… my config. Tool IntelliJ 2020.1 Ultimate Spring Boot Web Project (Spring boot 2.3.0) OPENJDK : 9 version gradle : 6.3 I...
View ArticleMaven BOM in the Gradle way
Gradle has a concept called platforms which is used to align and possibly enforce dependency versions. It can also both import and produce Maven BOMs in addition to Gradle’s own metadata format. Read...
View ArticleGradle Enterprise 2020.2.3 has been released
Gradle Enterprise 2020.2.3 is now available. Please see the release notes for more information.
View ArticleCould not resolve...
First, here’s the error: > Configure project :product-tests:java:tools:TestRunner Not sharing system properties from Gradle process with JavaExec process FAILURE: Build failed with an exception. *...
View ArticleUnresolved References in settings.gradle.kts moving from 5.6 to 6.2
Thanks for this, fits perfect. I kotlinyfied it slightly as I couldn’t resist fun PluginManagementSpec.loadProperties(fileName: String, path: String = rootDir.absolutePath) =...
View ArticleHow can i call a task for unzip file when i am downloading dependencies with...
When I’ve needed to do things like this in the past, I was recommended to use dependency transforms: https://docs.gradle.org/current/userguide/artifact_transforms.html The basic idea was something...
View ArticleAndroid Studio: Copying the build apk file on desktop
Months ago, I managed (with the help of Google) that Android Studio writes the build apk file on the desktop of my windows laptop (instead of using the directory app\build\outputs\apk\debug) by adding...
View ArticleRemoving an accidentaly published plugin
Hello I need delete this plugin co.com.bancolombia.scaffoldJavaCleanArchitecture this plugin is obsoleted The oficial version is co.com.bancolombia.cleanArchitecture. Can anyone help me? Thanks!
View ArticleAutomatically substitute module dependencies for local projects
My situation is this: I have many Gradle-powered projects (100+). The projects can be divided into 3 groups: lib - can include other libs plugin - can include libs and run in stand-alone mode app -...
View ArticleExecuting commands with required subcommands in task
currently my task executes the command to generate a ca.key, but usually the command requires the user to input a desired password. How can I get gradle to automatically fill in a passphrase/other...
View ArticleRemoving an accidentaly published plugin
I believe you have to create an issue in https://github.com/gradle/plugin-portal-requests/issues.
View ArticleIs it possible to substitute a project dependency with its outgoing artifacts?
Hello, I question myself regarding gradle way of handling variants and artifacts. Is it possible to generate a BOM featuring 2 dependencies, the foo and bar variants produced by a subproject? So far I...
View Article