Quantcast
Channel: Gradle Forums - Latest posts
Browsing all 19850 articles
Browse latest View live

Extra side-effects of Project.getTasksByName()?

Please start another thread with your actual problem, NOT your current solution

View Article


Share publishing of a plugin to portal with users

Thanks @sterling I’ll create a user to which to transfer ownership. I do need the ability to create a user whose email address does not show up though. Is that possible?

View Article


Image may be NSFW.
Clik here to view.

Extra side-effects of Project.getTasksByName()?

Thanks, but my actual problem was solved by removing Project.getTasksByName(...) from the plugin. I am still using project.evaluationDependsOnChildren() in my root project’s afterEvaluate() handler,...

View Article

Extra side-effects of Project.getTasksByName()?

As I said, afterEvaluate and evaluationDependsOnX are both hacks. Perhaps if you describe the problem they can be eliminated

View Article

How can I use the resolved version of a dynamic version dependency in a...

Assume a subproject which declares a dynamic version dependency: dependencies { implementation "org.examble:foo-lib:[1.0.0, 1.0.999]" } within the root project, I have a javadocAll task, which...

View Article


Extra side-effects of Project.getTasksByName()?

Thanks, I may take you up on that offer at some point. However, for now, the plugin is working sufficiently well that I need to focus more on what it is supposed to be doing rather than how it is...

View Article

Transform (sign) artifact before publication to maven artifactory

I would like to sign all jar files before its publication to maven artifactory. I found that it is very easy to write custom signer, but signing plugin is sadly not designed to modify existing...

View Article

How to build release binaries for all sub projects

With a multi-project Gradle C++ environment, what is the proper command to build release binaries for all projects? I have approximately 100 child projects. The targetMachines block for each project...

View Article


Build failed after upgrading to Android Studio 4

mac os, android studio 4.2 classpath "com.android.tools.build:gradle:4.0.1" ext.kotlin_version = '1.3.72' Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task...

View Article


Extra side-effects of Project.getTasksByName()?

project.getTasksByName(“doesNotExist”) Just so you know there’s gradle.taskGraph.whenReady { ... } Which is an event where you can inspect the TaskExecutionGraph and perform actions based on the tasks...

View Article

How to build release binaries for all sub projects

Have you tried assemble?

View Article

Sync taking very long after switching to Kotlin DSL with message: Importing...

It works like a charm! Many thanks!

View Article

Android SDK Build-Tools 28.0.3 Licences not accepted

I am new to Appcelerator. I’m using the VSCode extension for Appcelerator and I installed all the required Appcelerator packages. I also installed Android Studio in order to use an Emulator. I created...

View Article


Resolving runtime + compile classpath config

In my plugin I need to be resolving project’s Java compile plus runtime dependencies. I used to be resolving JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME and then...

View Article

Copy Task don't work

I made this task: ext.unarchiveDir = "run/assets/Textures/MonkeySheet" ext.archiveDir = "assets/Textures/MonkeySheet" task convertToDDS(type : Copy) { from unarchiveDir into archiveDir...

View Article


Image may be NSFW.
Clik here to view.

Copy Task don't work

Skipping task ‘:convertToDDS’ as it is up-to-date This is telling you that the task inputs (the source files) and the task outputs (the destination files) have not changed since the last time this...

View Article

Image may be NSFW.
Clik here to view.

Resolving runtime + compile classpath config

It sounds like you should create your own configuration that extends from the configurations that you care about. Resolving compileOnly directly is deprecated (as is anything green in the diagram...

View Article


Resolving runtime + compile classpath config

extendsFrom(...) was what I needed indeed. Thanks a lot @jjustinic !

View Article

How to use the application plugin with multiple start scripts in a Kotlin...

Using the application plugin in a Kotlin build file works without any problem. But I could not find any example in Kotlin that shows how one can create multiple start scripts, like for example in...

View Article

Gradle 6.6-rc-6 is now available for testing

Gradle 6.6-rc-6 is now available for testing; see the release notes for more information.

View Article
Browsing all 19850 articles
Browse latest View live