python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Expression 'application' cannot be invoked as a function
I have a Kotlin application with kotlin-dsl gradle files. I'd like to set mainClassName to be able to use com.github.johnrengelman.shadow.
I'd like use the application for this and I gradle cannot res...
J.Doe
Votes: 0
Answers: 1
Unresolved reference.None of the following candidates is applicable because of receiver type mismatch: when using protobuf plugin in gradle kotlin dsl
I'm using com.google.protobuf gradle plugin in my project for generating java classes from proto files.
Below is my build.gradle which works fine.
buildscript {
repositories {
mavenCentral()
...
Rajkumar Natarajan
Votes: 0
Answers: 0
Android Studio - Target JRE version does not match project JDK version
I recently migrated my project to Gradle 7.4.1, Android Gradle Plugin 7.1.2 and therefore also JDK 11 (from JDK 8), and everything is working fine except that when I run the unit tests in debug mode i...

Andrzej Zabost
Votes: 0
Answers: 0
Gradle - Do adding the same dependency to different modules increase build time?
If I have moduleA and moduleB, which both implement dependencyA and dependencyB. Will declaring both dependencies increase load time for moduleB if moduleA was already compiled?
For more information,...

htafoya
Votes: 0
Answers: 0