r/gradle • • Sep 22 '26

🚀 Gradle 9.8.0-rc-3 is here!

Post image
1 Upvotes

The latest Gradle release candidate brings several useful updates for Java developers — and the biggest one is Java 27 support. ☕️

What’s new?

🔹 Java 27 support for Gradle daemon & toolchains

🔹 Reuse Maven mirror settings

🔹 Up to 45% faster builds on affected Windows systems

🔹 Lazy destinationDirectory for Copy & Sync tasks

🔹 Smarter Maven POM generation with up-to-date checks

🔹 Improved build error and problem reporting

🔹 Better Groovydoc support for modern Java syntax

For developers moving toward Java 27, Gradle 9.8 is an important update to watch.

Java 27 + Gradle 9.8 = modern Java builds getting better. 🚀

#Java #Java27 #Gradle #SpringBoot #JavaDeveloper #BackendDevelopment #SoftwareDevelopment #Programming #DevTools #BuildTools #Developer #TechUpdates #SessionBytes


r/gradle • • Apr 02 '21

I have a problem while trying to compile my github code.

Post image
0 Upvotes

r/gradle • • May 19 '25

Gradle: Eagerly Get Dependencies

Thumbnail
10xdevkit.com
1 Upvotes

r/gradle • • Jun 13 '24

Include .class, .java, and .dll files

0 Upvotes

I just purchased an RFID Writer that comes with an SDK, the problem is the SDK isn't a .jar file, but this:

How can I import this to my Java project?


r/gradle • • Sep 20 '14

Gradle Exclude Transitive Dependency Example

Thumbnail
concretepage.com
0 Upvotes

r/gradle • • Feb 22 '18

Encoding issues

0 Upvotes

I am having a hard time correcting an issue with a junit test and I am convinced it's an issue with the encoding. The file input being read by the junit test is in html and the trouble character is an apostrophe notated in ascii (#146;). In my junit java class the apostrophe is the literal representation ’.

 

The stacktrace is as follows

 

org.junit.ComparisonFailure: expected:The Fund[’]s past performance (...> but was:The Fund[’]s past performance (...> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at com.compsci.ic.parser.rr.ExcerptExtractorTest.testAndRemove(ExcerptExtractorTest.java:390) at com.compsci.ic.parser.rr.ExcerptExtractorTest.testVanEckEmergingPerformance(ExcerptExtractorTest.java:299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57) at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66) at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy1.processTestClass(Unknown Source) at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:146) at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:128) at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:748)

 

As you can see the match are identical. Changing my html input is not an option. The jmeter task works in ant without and issue. I have assigned encoding in gradle as followed

 

[ compileJava, compileTestJava ]*.options*.encoding = 'UTF-8'

 

This has also been posted at StackOverflow

 

Thank you


r/gradle • • Feb 25 '15

I am utterly lost as to how Gradle is doing anything of what it should be?

0 Upvotes

Ok... my situation.

I have a number of in house java libraries that get used by each other via dependencies. Up until now the Java team just used Eclipse's build path and project properties to link these together.

This is causing issues.

So I initially tried converting them to Maven, and was getting pretty close to having it work, it at least would have errors for missing classes until I added dependencies in from maven repositories... it was all almost working (until I hit some weird problem within the final deployed war)....

While I was trying to fix this final issue I read that people were bailing on Maven and moving to Gradle.

Ok... start again, download the Gradle tools for Eclipse, convert projects to gradle... expect projects to whinge about missing dependencies and go through the same process of adding them in until the errors are cleared.

Except I don't get any errors. Gradle happily builds the jars, no errors... no issues.

It'll build my eclipse wtp project and I can publish it to my glassfish server (within eclipse)... except, to no-one's surprise, it completely fails to do anything because nothing is 'hooked up'.

Why is Gradle not erroring during build for missing classes? Why is it blindly building, but really not checking anything? I'm banging my head against a wall here! What's the point of this if you have to know ahead of time all of your dependencies?


r/gradle • • Sep 09 '26

Testing Astra 6 v Fable 5.1 on Gradle

Thumbnail
blog.gradle.org
5 Upvotes

r/gradle • • Jun 18 '26

¿Cual creen que resuelve mejor las dependencias Maven o Gradle?

1 Upvotes

Hago esta consulta ya que he tenido ocasiones que Gradle se tarda en resolver las dependencias.


r/gradle • • Aug 14 '22

There is need to be button. How to add it?

1 Upvotes

r/gradle • • Aug 13 '24

Error

0 Upvotes

[INFO]: Detected highest available build tools version to be 35.0.0

[DEBUG]: -> running gradlew clean assembleDebug

[DEBUG]: Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

[DEBUG]:

[DEBUG]: FAILURE: Build failed with an exception.

[DEBUG]:

[DEBUG]: * What went wrong:

[DEBUG]: A problem occurred configuring root project 'checker'.

[DEBUG]: > Could not open cp_proj generic class cache for build file '/home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/checker/build.gradle' (/home/china/.gradle/caches/8.0.2/scripts/6xbw4ggxa69dw1uqcy52ijm5h).

[DEBUG]: > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

[DEBUG]:

[DEBUG]: * Try:

[DEBUG]: > Run with --stacktrace option to get the stack trace.

[DEBUG]: > Run with --info or --debug option to get more log output.

[DEBUG]: > Run with --scan to get full insights.

[DEBUG]:

[DEBUG]: * Get more help at https://help.gradle.org

[DEBUG]:

[DEBUG]: BUILD FAILED in 9s

Exception in thread background thread for pid 81312:

Traceback (most recent call last):

File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner

self.run()

File "/usr/lib/python3.10/threading.py", line 953, in run

self._target(*self._args, **self._kwargs)

File "/home/china/.local/lib/python3.10/site-packages/sh.py", line 1641, in wrap

fn(*rgs, **kwargs)

File "/home/china/.local/lib/python3.10/site-packages/sh.py", line 2569, in background_thread

handle_exit_code(exit_code)

File "/home/china/.local/lib/python3.10/site-packages/sh.py", line 2269, in fn

return self.command.handle_command_exit_code(exit_code)

File "/home/china/.local/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code

raise exc

sh.ErrorReturnCode_1:

RAN: /home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/checker/gradlew clean assembleDebug

STDOUT:

Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'checker'.

Could not open cp_proj generic class cache for build file '/home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/checker/build.gradle' (/home/china/.gradle/caches/8.0.2/scripts/6xbw4ggxa69dw1uqcy52ijm5h).

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* Try:

Run with --stacktrace option to get the stack trace.

Run with --info or --debug option to get more log output.

Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s

STDERR:

FAILURE: Build failed with an exception.

* What went wrong:

A problem occurred configuring root project 'checker'.

Could not open cp_proj generic class cache for build file '/home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/checker/build.gradle' (/home/china/.gradle/caches/8.0.2/scripts/6xbw4ggxa69dw1uqcy52ijm5h).

BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* Try:

Run with --stacktrace option to get the stack trace.

Run with --info or --debug option to get more log output.

Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s

[INFO]: STDERR:

[INFO]: ENV:

export SHELL='/bin/bash'

export WSL2_GUI_APPS_ENABLED='1'

export WSL_DISTRO_NAME='Ubuntu'

export WT_SESSION='09ddb120-7cbd-45a6-a137-29b38e184f69'

export JAVA_HOME='/home/china/.sdkman/candidates/java/current'

export GRADLE_HOME='/home/china/.sdkman/candidates/gradle/current'

export SDKMAN_CANDIDATES_DIR='/home/china/.sdkman/candidates'

export NAME='Bervelyn'

export PWD='/home/china/apps'

export LOGNAME='china'

export MOTD_SHOWN='update-motd'

export HOME='/home/china'

export LANG='C.UTF-8'

export WSL_INTEROP='/run/WSL/662_interop'

export LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'

export WAYLAND_DISPLAY='wayland-0'

export LESSCLOSE='/usr/bin/lesspipe %s %s'

export TERM='xterm-256color'

export LESSOPEN='| /usr/bin/lesspipe %s'

export USER='china'

export SDKMAN_DIR='/home/china/.sdkman'

export DISPLAY=':0'

export SHLVL='1'

export SDKMAN_CANDIDATES_API='https://api.sdkman.io/2'

export XDG_RUNTIME_DIR='/run/user/1000/'

export WSLENV='WT_SESSION:WT_PROFILE_ID:'

export XDG_DATA_DIRS='/usr/local/share:/usr/share:/var/lib/snapd/desktop'

export PATH='/home/china/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/china/.local/bin:/home/china/.sdkman/candidates/java/current/bin:/home/china/.sdkman/candidates/gradle/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Siemens/NX2007/CAPITALINTEGRATION/capitalnxremote/:/mnt/c/Program Files/MATLAB/R2023a/runtime/win64:/mnt/c/Program Files/MATLAB/R2023a/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/MATLAB/R2022b/runtime/win64:/mnt/c/Program Files/MATLAB/R2022b/bin:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Users/benja/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/benja/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/benja/AppData/Local/Programs/Azure Data Studio/bin:/snap/bin'

export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus'

export SDKMAN_PLATFORM='linuxx64'

export HOSTTYPE='x86_64'

export PULSE_SERVER='unix:/mnt/wslg/PulseServer'

export WT_PROFILE_ID='{51855cb2-8cce-5362-8f54-464b92b32386}'

export _='/home/china/.local/bin/buildozer'

export OLDPWD='/home/china'

export PACKAGES_PATH='/home/china/.buildozer/android/packages'

export ANDROIDSDK='/home/china/.buildozer/android/platform/android-sdk'

export ANDROIDNDK='/home/china/.buildozer/android/platform/android-ndk-r25b'

export ANDROIDAPI='31'

export ANDROIDMINAPI='21'

export ANDROID_NDK_HOME='/home/china/.buildozer/android/platform/android-ndk-r25b'

export ANDROID_HOME='/home/china/.buildozer/android/platform/android-sdk'

[INFO]: COMMAND:

cd /home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/checker && /home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/checker/gradlew clean assembleDebug

[WARNING]: ERROR: /home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/checker/gradlew failed!

No setup.py/pyproject.toml used, copying full private data into .apk.

Applying Java source code patches...

Applying patch: src/patches/SDLActivity.java.patch

Command failed: ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'apk', '--bootstrap', 'sdl2', '--dist_name', 'checker', '--name', 'Fingerprint Checker', '--version', '0.1', '--package', 'chinacisco.com.checker', '--minsdk', '21', '--ndk-api', '21', '--private', '/home/china/apps/.buildozer/android/app', '--android-entrypoint', 'org.kivy.android.PythonActivity', '--android-apptheme', '@android:style/Theme.NoTitleBar', '--orientation', 'portrait', '--window', '--enable-androidx', '--copy-libs', '--arch', 'arm64-v8a', '--arch', 'armeabi-v7a', '--color=always', '--storage-dir=/home/china/apps/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']

ENVIRONMENT:

SHELL = '/bin/bash'

WSL2_GUI_APPS_ENABLED = '1'

WSL_DISTRO_NAME = 'Ubuntu'

WT_SESSION = '09ddb120-7cbd-45a6-a137-29b38e184f69'

JAVA_HOME = '/home/china/.sdkman/candidates/java/current'

GRADLE_HOME = '/home/china/.sdkman/candidates/gradle/current'

SDKMAN_CANDIDATES_DIR = '/home/china/.sdkman/candidates'

NAME = 'Bervelyn'

PWD = '/home/china/apps'

LOGNAME = 'china'

MOTD_SHOWN = 'update-motd'

HOME = '/home/china'

LANG = 'C.UTF-8'

WSL_INTEROP = '/run/WSL/662_interop'

LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'

WAYLAND_DISPLAY = 'wayland-0'

LESSCLOSE = '/usr/bin/lesspipe %s %s'

TERM = 'xterm-256color'

LESSOPEN = '| /usr/bin/lesspipe %s'

USER = 'china'

SDKMAN_DIR = '/home/china/.sdkman'

DISPLAY = ':0'

SHLVL = '1'

SDKMAN_CANDIDATES_API = 'https://api.sdkman.io/2'

XDG_RUNTIME_DIR = '/run/user/1000/'

WSLENV = 'WT_SESSION:WT_PROFILE_ID:'

XDG_DATA_DIRS = '/usr/local/share:/usr/share:/var/lib/snapd/desktop'

PATH = ('/home/china/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/china/.local/bin:/home/china/.sdkman/candidates/java/current/bin:/home/china/.sdkman/candidates/gradle/current/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program '

'Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA '

'Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/dotnet/:/mnt/c/Program '

'Files/Siemens/NX2007/CAPITALINTEGRATION/capitalnxremote/:/mnt/c/Program '

'Files/MATLAB/R2023a/runtime/win64:/mnt/c/Program '

'Files/MATLAB/R2023a/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program '

'Files/MATLAB/R2022b/runtime/win64:/mnt/c/Program '

'Files/MATLAB/R2022b/bin:/mnt/c/Program '

'Files/Docker/Docker/resources/bin:/mnt/c/Users/benja/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/benja/AppData/Local/Programs/Microsoft '

'VS Code/bin:/mnt/c/Users/benja/AppData/Local/Programs/Azure Data '

'Studio/bin:/snap/bin')

DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus'

SDKMAN_PLATFORM = 'linuxx64'

HOSTTYPE = 'x86_64'

PULSE_SERVER = 'unix:/mnt/wslg/PulseServer'

WT_PROFILE_ID = '{51855cb2-8cce-5362-8f54-464b92b32386}'

_ = '/home/china/.local/bin/buildozer'

OLDPWD = '/home/china'

PACKAGES_PATH = '/home/china/.buildozer/android/packages'

ANDROIDSDK = '/home/china/.buildozer/android/platform/android-sdk'

ANDROIDNDK = '/home/china/.buildozer/android/platform/android-ndk-r25b'

ANDROIDAPI = '31'

ANDROIDMINAPI = '21'

Buildozer failed to execute the last command

The error might be hidden in the log above this error

Please read the full log, and search for it before

raising an issue with buildozer itself.

In case of a bug report, please add a full log with log_level = 2


r/gradle • • Jun 16 '23

New to github and I don't know what Gradle is... How can I do what the instructions say? Also, what do I need to download/install?

Post image
1 Upvotes

r/gradle • • Sep 29 '24

Combine similar spring boot microservices

0 Upvotes

I have a set of different microservices which share similar boundaries(bad design decision were taken in past to create this mess). Now we have almost 70 different microservices and the infra cost to run these is also significant. We want to know merge similar microservices so that we can reduce the count. How can we solve this problem without doing the manual migration? I am looking out for solutions/suggestion around this. We are using gradle as our build tool.


r/gradle • • Nov 05 '20

War with classes under WEB-INF/classes and jars under WEB-INF/lib

1 Upvotes

I'm trying to port a custom compiled Java webapp project into gradle.

I want to put all my .class files under WEB-INF/classes and it works, but I find also the same .class files under WEB-INF/lib

This is a snippet of my build.gradle

def customBuildPath = 'build/classes'

war {
    from(customBuildPath) {
        into 'WEB-INF/classes'
    }

    from('WebContent') {
        include 'Web/**/*'
        into ''
    }
}

Any hints?


r/gradle • • 12d ago

i need help using gradle for something

0 Upvotes

so i have this cool mc zip and ive been trying to use gradle to compile it into a jar and all i keep getting is errors pls someone help/do it for me


r/gradle • • Mar 07 '18

Why is Gradle so slow?

0 Upvotes

Seriously, is this product total garbage or what?


r/gradle • • Jul 22 '19

Fun with gradle

Post image
4 Upvotes

r/gradle • • Jun 20 '26

Gradle Build Tool Peptides

Post image
0 Upvotes

I've decided that if we need to raise funds for the open-source Grade Build Tool, we should just sell Gradle peptides:

> Tired of your CI/CD pipeline skipping leg day? I just started using the new Gradle Build Tool Stack to achieve massive build time gains. 💪🐘

> Side effects may include a shredded codebase, unexpected urges to refactor in Kotlin, and a **100% cache hit rate. #**GradleGains


r/gradle • • Apr 18 '25

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

2 Upvotes

im trying to install something that uses java and i got this error (title), how do i fix this if i even can?


r/gradle • • Apr 08 '26

Hansel&Gradle

Post image
6 Upvotes

A quick "Ha Ha Ha" for all you friends of the BUILD. :)


r/gradle • • Jun 01 '22

build.gradle is saying I'm using an outdated version of java when I'm not, any reason why?

Post image
0 Upvotes

r/gradle • • Aug 18 '21

I cant use gradle cause of this error, HELP.

Post image
3 Upvotes

r/gradle • • Oct 01 '26

Agentic Gradle Plugin 1.0.0

3 Upvotes

r/gradle • • Apr 30 '25

How Monorepo Can Save Your High-Critical Application From Crashing

Thumbnail
medium.com
0 Upvotes

In the fast-evolving world of software development, high-criticality applications — think financial systems, healthcare platforms, or aerospace control software — demand precision, reliability, and fault tolerance. In most cases, we start as a small application, however, our business rules change, and our application grows.

At first, it only had two or three REST APIs, but soon we had to create listeners, producers, and jobs. Then suddenly, our microservice became a monolith.

Every update requires redeploying the entire application. A bug in one module can crash the whole system.

But what if we break down this monolith into several microservices, each with its repository? Nice! Let's do it!

However, we have an API Rest, a Listener (e.g., KafkaConsumer), and a Batch Job that reads/writes the same database. Any entity/schema modification must be reflected in three different repositories.

That doesn’t sound good. So, how can we have the best advantages of each approach?

One architectural strategy gaining traction for such mission-critical projects is the Monorepo (monolithic repository). But what makes Monorepo a game-changer for high-stakes environments? Let’s dive in.