Build.gradle double signing (signing plugin)
I have the following build.gradle file with a signing plugin github.com deanhiller/webpieces/blob/master/build.gradle buildscript { repositories { jcenter() mavenCentral() //Comment out to suck in...
View ArticleHow do I get permission to access my gradle scan?
Hey Lorinc, I found the link on the developer guidelines, 1st step on the workflow. Here’s the link https://discuss.gradle.org/t/developer-guidelines/108
View ArticleBuild.gradle double signing (signing plugin)
deanhiller: Anyone know why it’s signing the asc files? It’s not. The result of signing core-asyncserver-2.0-developer.jar is the core-asyncserver-2.0-developer.jar.asc file. The .asc file is the...
View ArticleIs task execution unordered?
Unfortunately none of these snippets show the configuration of something being produced by one task (a file of some form) and then being consumed by another task
View ArticleMigration maven->gradle, type tld replacement
I tried to migrate some projects from maven to gradle with great performance improvements. But i still have some issues, the main blocker is, that i cannot find a replacement for maven type tld. e.g....
View ArticleMigration maven->gradle, openapi plugin replacement
I tried to migrate some projects from maven to gradle with great performance improvements. But I still have some issues, the main blocker is, that i cannot find a replacement for the following plugins...
View ArticleFileTree and lazy task evaluation
Hi guys, Please help me with an issue. I have the following code snippet: class ProcessDescriptors extends DefaultTask { @InputFiles FileCollection descriptorsFiles @OutputDirectory DirectoryProperty...
View ArticleFileTree and lazy task evaluation
You could do @InputFiles Set<File> descriptorsFiles public void setDescriptorsFiles(FileCollection descriptorsFiles) { this.descriptorsFiles = descriptorsFiles.getFiles(); }
View ArticleFileTree and lazy task evaluation
Thanks for you reply, Lance. I tried something similar, but it means that the files will be scanned during configuration phase, what I would like to avoid.
View ArticleFileTree and lazy task evaluation
Have you considered using a better performing FileTree? Eg: def tree1 = fileTree("src/main/resources/xml") { includes "*.xml" } def tree2 = fileTree("DBA/main/resources") { includes =...
View ArticleBuild.gradle double signing (signing plugin)
jjustinic: Any file that is going to be uploaded to artifact repository has checksums generated ( .md5 / .sha1 ) I am not sure I am reading you correctly… PUT another way, I expected a file list like...
View ArticleHi, im facing this error when i am trying to comit in development environment...
could not resolve all files for configuration ‘:classpath’. Could not resolve io.spring.gradle:propdeps-plugin:0.0.9.RELEASE. Required by: project : Could not resolve...
View ArticleHaving trouble ignoring directories during Gradle build --continous
I am referencing the guides here: https://kotlinlang.org/docs/reference/using-gradle.html Which says (for Kotlin DSL); sourceSets["main"].withConvention(KotlinSourceSet::class) {...
View ArticleCustom plugin with native jar dependency
Hello, I’m making a custom Gradle plugin that uses some native dependencies. The task works well when used inside a buildSrc directory, but not when published. I dig a bit, and it appears that the...
View ArticleGradle build in Eclipse failed error : could not fetch model of type...
Do not check offline model when importing project.
View ArticleGradle Enterprise Maven Extension 1.3.5 has been released
The Gradle Enterprise Maven Extension v1.3.5 has been released. See release notes for the changelog. Compatible with scans.gradle.com and Gradle Enterprise 2019.4 or later.
View ArticleFileTree and lazy task evaluation
Thank you Lance. Indeed using this approach of collecting fileTrees it become much faster, and the issue with long scanning of dirs has gone.
View ArticleGroovy extension methods in gradle plugin
I have a Gradle plugin with some Groovy extension methods. The plugin has a org.codehaus.groovy.runtime.ExtensionModule file in the META-INF/groovy directory. However, extension methods don’t get...
View Articlejava.lang.RuntimeException: Could not resolve class named...
dependencies { lib (group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.11') } gradle dependencies command shows the above jar… but gradle build fails showing RuntimeException as shown...
View ArticleJoint compilation of Java/Scala in 6.1
In 6.1, we got a new feature to model compilation order for java/scala. Can this feature also be used to model an interdependence from java to scala and vice versa (e.g. some java classes depend on...
View Article