I am not sure if I've missed a config or stumbled upon a bug. I am using IntelliJ to build a Kotlin Spring Boot application with JPA and would like to use Kotli
Objective : I have developed Test for CodeCoveragePluginForAndroidConnectedTest . Steps to reproduce error : ./gradlew clean build A problem occurred eval
I've just updated my flutter project packages to be null-safety compliant and now Android Studio wants me to update my project to use the latest version of Kotl
In our team we have lot of projects built with Gradle. Some parts in the Gradle files are all the same. For example, we use Java 11 in all our projects. So my i
I have this kotlin gradle build script representing my use case. I am working with Gradle 6.7. This is my kotlin gradle build file: plugins { java } tasks
I get the following warning when I want to use @AndroidEntryPoint which is a property of hilt in my project. Expected @AndroidEntryPoint to have a value. Did y
I'm writing a Gradle convention plugin that uses Gradle's Lazy Configuration APIs to configure tasks. In one case, the plugin needs to conditionally change the
I want to retreive key from local.properties file that looks like : sdk.dir=C\:\\Users\\i30mb1\\AppData\\Local\\Android\\Sdk key="xxx" and save this value in m
We've been using a snippet like this one to rename the APK file generated by our Gradle build: android.applicationVariants.all { variant -> variant.outp
What is the difference between these two approaches in a Gradle Kotlin build script? Specifically, I wanted to know what is the advantage (if any) of using setP
My app uses several gradle.kts scripts. I want to set one variable which would be global for everyone. object Versions{ val kotlin_version = "1.3.60-eap-25"
I had a working build, including databinding, but after migrating my Gradle build scripts to Kotlin DSL, I now have unresolved symbol errors for every use of im
What is the recommended way to extract gradle build code blocks to external scripts? Notice these scripts should support references to the gradle project, extra
I am trying to run the code block below, after reading multiple posts on the topic and the Gradle manual. I run the below and get the following error: execComma
when migrating to gradle 7.x getting below error * What went wrong: An exception occurred applying plugin request [id: 'no.nils.wsdl2java', version: '0.12'] &g
Here's an example from Groovy that represents exactly what I would like to achieve: Command line: ./gradlew jib -PmyArg=hello build.gradle.kts task myTask
I'm a beginner with gradle and would like to use koin in my Kotlin project. However, I get the following error Execution failed for task ':compileTestKotlin'. &
What is the purpose of using .kts files in Kotlin? Are these files included in the app bundle when releasing the app?
I'm working on a project combining groovy and kotlin. My Kotlin classes require objects from groovy part, how can i make gradle compile groovy before kotlin ?
As titled, I'd like to know how to modify the gradle.build.kts in order to have a task to create a unique jar with all the dependencies (kotlin lib included) in