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

Image may be NSFW.
Clik here to view.

Eclipse running with JDK 11 -> Gradle 6.2.1 fails to compile source for JDK 8

Hi all, until Eclipse 2020-03 I executed it with JDK 8, since Eclipse 2020-06 I’m doing so with JDK 11. Reasons are that I need the C+±plugin CDT, which seems to only work with JDK 11, and Eclipse...

View Article


Local plugin publishing and default dependencies

I’m trying to publish a custom plugin locally using the com.gradle.plugin-publish 0.12.0 and maven-publish. The custom plugin uses default dependencies, which I’m trying to test out if they are...

View Article


Introducing Gradle Community Slack

I’m not from the Gradle team, but this should work for you: https://join.slack.com/t/gradle-community/shared_invite/zt-edu62rz6-cNMK~_VbdAQb~t3aCGtbhg

View Article

Generate signet bundle/apk error

Hi guys, I’m trying to generate signet bundle on my app and i receive this error ‘node’ is not recognized as an internal or external command, operable program or batch file. Task...

View Article

Upgrade 3.5 -> 6.22

More info: When running the tests in eclipse they all pass fine. It’s only when we run the grade build or test tasks so it feels like maybe the grasper artifacts for test aren’t available for some...

View Article


Upgrade 3.5 -> 6.22

@smarco we found the issue. Posting it for others that might have the same issue. ehcache.xml contained several in memory args and combined with gradle’s memory footprint it choked. We’re still...

View Article

Sdk directory error

What went wrong: A problem occurred configuring project ‘:app’. The SDK directory ‘C:\harsha-master\harsha-master\android\C:UsersAdminAppDataLocalAndroidSdk’ does not exist. Try: Run with --stacktrace...

View Article

Image may be NSFW.
Clik here to view.

Element 'dokka' of type 'org.jetbrains.dokka.gradle.DokkaTask_Decorated' from...

Hello, Maybe you can help me since folks at Dokka don’t give a damn about github issues I was following your tutorial and I’m having troubles with dokka task. I’ve a build.gradle.kts file responsible...

View Article


Project dependencies ignored when compiling custom source set

A version of this was posted yesterday on Stack Overflow: https://stackoverflow.com/q/62474238/1151724 I have a small library project in kotlin with a custom source set that I use for demos. Each demo...

View Article


Flutter android studio issue

Could not determine the dependencies of task ‘:app_settings:compileDebugAidl’. Failed to find Platform SDK with path: platforms;android-R I’m running android studio but keep getting this message...

View Article

Updating to gradle-wrapper 6.4.1

After update to gradle-wrapper 6.4.1 version i have warning Querying the mapped value of map its navigate me to...

View Article

Jacoco & Gradle Test Kit with Java

I have some functional tests with Gradle’s test kit, for a custom plugin. The tests work fine and IntelliJ reports 100% code coverage on it. When I put Jacoco into Gradle and run the same report it...

View Article

Lifecycle of extension

Android gradle plugin has extension properties which might be set in build.gradle: android { defaultConfig { testInstrumentationRunnerArgument("annotation", "com.hello.RunThisTestOnly") } } And also...

View Article


Jacoco & Gradle Test Kit with Java

Look at the build scripts for the asciidoctor-gradle-plugin how Jacoco is being used. test repsorts are being generated for eahc subproject on unit, integration and compatibility test level. The...

View Article

Gradle version 6.1.1 and plugin version 4.0.0 in android studio

I am facing this issue and all my dependencies are up-to-date. Can you tell what were the dependencies you updated to fix this issue?

View Article


Image may be NSFW.
Clik here to view.

Gradle version 6.1.1 and plugin version 4.0.0 in android studio

@roshanpv18 I manually visited each dependency page and used the stable or latest onces. Also, I removed 1-2 dependency and did things programtically. I spent 4-5 days here and asking every friend to...

View Article

How to remove .gitignore from defaultExcludes for whole multi module project

Hi, I am not sure if there is a workaround right now. You could try if an init script works any better. We have some issues to make default excludes a first-class citizen (e.g....

View Article


Image may be NSFW.
Clik here to view.

java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException for JDK9

Hi, Building my project with Gradle. For Java8 build passes, for Java9 it fails with Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at...

View Article

Image may be NSFW.
Clik here to view.

JDK9 -> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Hi, Building my project with Gradle. Build succeeds for Java8, but fails for Java9 with the Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at...

View Article

Image may be NSFW.
Clik here to view.

Expressing optional Java 11 dependencies in published metadata

implementation “com.sun.xml.bind:jaxb-impl:2.3.3” What’s your approach of implementing JDK 11-specifics? I have a custom gradle file containing statements like the following: if...

View Article
Browsing all 20675 articles
Browse latest View live