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

How to rewrite a simple doLast task to be cacheable?

@Lance There is no failure with this version of the task. But the build scan states that the task is not cacheable: The task was not up-to-date because it did not have any declared outputs

View Article


How to rewrite a simple doLast task to be cacheable?

@johnjohndoe You cannot make a delete task cacheable and that is perfectly fine. Is this from the suggestions tab?

View Article


How to rewrite a simple doLast task to be cacheable?

@Stefan_Wolf I took a look at the “Not cacheable” tasks at “Performance / Task execution”.

View Article

HowTo : control build order of gradle subprojects submodules?

Your requirement sounds reasonable to me as I have the same use case myself. You can control task ordering between projects manually using dependsOn, but when the number of projects increases it...

View Article

How to rewrite a simple doLast task to be cacheable?

Yeah, come to think of it a delete task should never be cacheable. Typically a delete task is used to clean rather than build. Is this delete task part of your build? Or just part of your clean? If...

View Article


Image may be NSFW.
Clik here to view.

Call tasks of composite builds directly

Wow, thanks, interesting thing. And where exactly you have it? I’m currently using a different hack via buildSrc described here Plugin project with samples in one repository? It works completely fine...

View Article

Image may be NSFW.
Clik here to view.

Call tasks of composite builds directly

Tomas_Prochazka: And where exactly you have it? I have it in the build.gradle of a composite build.

View Article

Image may be NSFW.
Clik here to view.

Unzip files that are part of a configuration

mwkohout: Configuration avroDefinitions = project.getConfigurations().create("avroDefinitions"); var unzipAvro = project.getTasks().register("unzipAvro"); (1)...

View Article


Image may be NSFW.
Clik here to view.

Error building task (windows only)

Lance: commandLine 'cmd /c build_jar.bat -o install'.split(' ') hi, I try but no work I have same error message best regards Loïc

View Article


Cross platfrom non-java binary dependency

I need to create plugin that will do things similar to protubuf - it will generate java code from another type of files. To do that it needs to have certain tool in path. What’s the best solution to...

View Article

Tell gradle not to cache snapshot dependencies (cacheChangingModulesFor 0...

It’s been 4 years and this is still not fixed?

View Article

Error building task (windows only)

Have you removed the “//” from before the line? Or does it look like this? if (System.getProperty('os.name').toLowerCase(Locale.ROOT).contains('windows')) { //commandLine 'cmd /c build_jar.bat -o...

View Article

Error building task (windows only)

Hi Yes I remove comment Best regards Cordialement Loïc ROUSSET

View Article


Image may be NSFW.
Clik here to view.

Kotlin extensions functions provided by own Gradle Plugin

I’m writing Gradle plugin in Kotlin and I’m looking for a way how to extend some existing object. For example Android specific one fun ProductFlavor.setSignKey(remoteSignKeyName: RemoteSignKeyName) {...

View Article

일단 searchdave.com/parao/ - 파라오카지노

그녀와 일리스는 일단 https://searchdave.com/parao/ - 파라오카지노늘어진 솔레어카지노라미니아를 추스르기 더존카지노위해서 코인카지노여관을 퍼스트카지노찾기 더킹카지노시 작했다. 우리카지노마을이라기 샌즈카지노보다는 거의 도시에 가까울 정도의 크기였지만 여관이

View Article


How to rewrite a simple doLast task to be cacheable?

Here is the source code lines of the task in the project: briar -> bramble-android -> build.gradle -> L55-63

View Article

assembleAndroidTest doesn't use packagingOptions

Guys, I am facing same issue with Detox. Can someone please suggest a quick work around as my application is currently planned to be deployed in production? Thanks a lot

View Article


How to rewrite a simple doLast task to be cacheable?

So, the delete is happening as part of your “clean” which is not related to your “build” It’s perfectly fine for this to not be cacheable

View Article

Get the jar path of a maven artifact

I’m writing a custom gradle plugin. It should generate some additional files in the project. For that I need to load the jar artifact from the known maven dependency and load all it’s classes. So how...

View Article

Plugin Extension not available when using plugins block for a plugin fetched...

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

View Article
Browsing all 19850 articles
Browse latest View live