Need help gradle
Could you please format that properly, let me know which line is line 24 and run the build with --stacktrace. If possible, a build scan would also be helpful.
View ArticlePlugin development abstract class and property
You can have a mix of managed and non-managed properties in a class. For example, this works: abstract class MyTask extends DefaultTask { @InputFile abstract RegularFileProperty getManagedInputFile()...
View ArticleNeed help gradle
this is line 24 ( apply plugin: ‘com.android.application’ ), but, what is stacktrace !!
View ArticleDump stack trace for tests
The Gradle build uses something for its integration tests:...
View ArticleDoes Gradle supports Parallel Test Executor plugins?
Hi, it can be done, though it requires some custom logic in your build script. The plugin itself creates a file per test split with the test classes which should be excluded. So what you need to do in...
View ArticleRun top-level tasks sequentially, but dependent tasks in parallel
Hi Sebastian, the only way to achieve what you want is to use mustRunAfter or shouldRunAfter on the tasks you currently support. There is no built-in way to do what you want. Cheers, Stefan
View ArticleRemote cache miss for compileJava
It looks like the sources for the compileJava task are different. What are the differences between your personal server and your machine?
View ArticleHow to clean build cache?
Hi Kevin, there currently isn’t a built-in solution for removing the local build cache folder. What is your use-case for removing the folder? Do you have a bad artifact in there? Cheers, Stefan
View ArticleHow to clean build cache?
Hi Stefan, We would like to do a clean build especially when deploying to production and avoid the possibility of re-using existing bad artifacts. In a perfect world, there is no bad artifacts, but...
View ArticleRun top-level tasks sequentially, but dependent tasks in parallel
Thanks for the confirmation of what I though!
View ArticleConsolidate imported plugins to custom plugin using Kotlin
Here’s a stackoverflow link showing some progress on this https://stackoverflow.com/a/58699141/6659006. Got maven-publish working but am still looking for help with jib and others.
View ArticleGradle wrapper download fails via http
Started hitting the same issue. Is there any recent change? We have 100s of the project with Http setting. Do we need to change every project to use https instead of Http?
View ArticlePass jvm args to runtime configuration
I’m using Gradle 4.10 with java 8. I need to pass in native dll files when I run my application. I have used this for my unit tests configuration which works perfectly when I execute the test task...
View ArticleKotlin Dsl Precompiled plugin script with android context
I am trying to declare my android flavors in a separate gradle.kts file and then just apply them in my apps module gradle. But i keep getting Unresolved reference for “android”, “flavors” etc. etc. I...
View ArticleStopping l only inactive Gradle daemons
Is there a way to stop only inactive Gradle daemons?
View ArticleExposing a custom configuration
Here is what I did to fix the issue. Additionally to the setup described above, I’ve declared the artifact of the module to consume: val dslConfig by target.configurations.creating target.artifacts {...
View ArticleGradle 6.0-rc-3 is now available for testing
Gradle 6.0 RC3 is available for testing; see the release notes for more information and upgrade instructions. If no new regressions are reported, 6.0 GA will be available this week.
View ArticleGradle wrapper download fails via http [new]
Suddenly all the builds which are using http to download gradlew are failing. ./gradlew tasks Unzipping...
View ArticleAdd behavior to clean task via Kotlin DSL
I want to delete some non standard files when the clean task runs. How can I do this using the Kotlin DSL? I found the Manipulating existing tasks section in the user guide. But that shows...
View ArticleDoes Gradle community version support remote cache
We are thinking of utilizing remote cache setup through artifactory for our CI builds, as we are using latest Gradle community version, will it support this feature ?
View Article