Publish Dependencies to MavenLocal
Take a look at the tasks added by maven-publish plugin. One of the tasks is publishToMavenLocal
View ArticleGradle 6.0 fails to find dependencies in p2asmaven repository
The WALA analysis framework uses the com.diffplug.gradle.p2.asmaven plugin to incorporate several Eclipse libraries into its build, as configured here. This worked fine under Gradle 5.6.2, but under...
View ArticleHow to attach a JavacPlugin for the tests?
I’m trying to write a JavacPlugin. I want to be able to test it through my gradle system, however I’m uncertain as to how I can tell gradle to add my own code as a dependency, in order for it to...
View ArticleWhy gradle does not use cache in docker
My Dockerfile: FROM gradle:jdk8 as gradle WORKDIR /app COPY settings.gradle build.gradle ./ COPY module-core/build.gradle ./module-core/ COPY gradle ./gradle RUN gradle build --no-daemon --info...
View ArticleTutorial obsolete?
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)
View ArticleComposite Build and additional artifacts
The documentation was restructured and extended for 6.0. But the features described in that section are not new and should work with older versions of Gradle. Which part of the documentation section...
View ArticlePreferred way to build a release
I like the Maven on Steroids pattern which is close to what you’re describing here. Set the checked in version to 0-SNAPSHOT Update the version dynamically on release. See:...
View ArticleBuild fails after upgrade; cannot determine build dependencies of [L...
lhug: project(path:’:epbProject’, configuration:‘runtime’).findProjectConfiguration().allDependencies.all{ earlib it } That clearly looks wrong. findProjectConfiguration() is internal API. This might...
View ArticleBuildship 3.1.3 is now available
We are happy to announce that Buildship 3.1.3 has just been released. This release contains bugfixes and upgrades the Gradle integration plugin (org.gradle.toolingapi). The full list of changes is...
View ArticleCan't create simple jar
Because I’m also using the Kotlin multiplatform plugin, and it does not work with the war plugin and task. I’ve posted elsewhere about that and got no answers. I could post again about that issue, but...
View Articlebundled.directory.provider
android.process.acore E/ActivityThread: Failed to find provider info for com.google.android.gm.exchange.bundled.directory.provider
View ArticleEAR - Add xml file to META-INF dir
Hi, I am using Gradle 4.10.2 and I am building an ear file, where I must put a jboss-deployment-structure.xml file into the META-INF folder of ear. On Internet, I see different plugins to generate...
View ArticleGradle build .class files
Hi Sheng-Long, Did you ever find out why the reports and classes subdirectories weren’t created? I’m new to gradle and having the same problem using the tutorial at spring.io. Thanks, Jackie
View ArticleInclude ":directory/project" vs include "directory:project"
gradle task is a task selector which will select all tasks of that name. gradle :task is a task in a single project. I actually find this piece of information hard to find. Do you have a link to the...
View ArticleBuild fails after upgrade; cannot determine build dependencies of [L...
Hello, According to my project lead, that particular bit of code is to ensure that all runtime dependencies of the, sorry typo, ejb-project are declared as earlibs. Sadly, changing just that did not...
View ArticlePreferred way to build a release
I am beginning to lean towards Automaric Versioning. I have been contributing on a SemVer release tool that was mainly developed for Jenkins X, but can be used as a standalone tool. It uses the base...
View ArticleGradle 6.0.1 released
Gradle 6.0.1 has a patch release out that fixes some critical dependency management regressions and an Android incremental compilation compatibility. See the full release notes.
View ArticleExtensions in composite build settings
I have a composite build where I define a few ext properties in settings to use later on in my tasks. Ex: settings.gradle: includeBuild('project1') { ext.doSomething = true } includeBuild('project2')...
View ArticleHow to include dependencies in jar?
What if I only want certain jars from the dependencies {} block to be included in the jar I’m building?
View Article