Comments (3)
Great! That seems to have done the trick.
Just as a heads up to anyone who is updating to 1.17/1.17.1 - remember that as of Minecraft 1.17 you need to have Java 16 installed, and you will need to update to Gradle 7 for Java 16 support as well or else you will get an error like this when building:
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x1d2c1fa3) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x1d2c1fa3
If you're just using the gradle wrapper in your project, go into gradle/wrapper/gradle-wrapper.properties
and set distributionUrl
to a 7.x release, which right now the latest is https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
- then try to build your project again.
from bukkitgradle.
Thank you for your report!
I've added 1.17 and 1.17.1 to the list of supported versions. Can you check if it works now?
from bukkitgradle.
Another way to upgrade Gradle is running the following command (better to run it twice):
> ./gradlew wrapper --gradle-version=7.1.1
from bukkitgradle.
Related Issues (20)
- plugin.yml do not contain plugin meta and custom content
- Paperclip 1.8.X not supported HOT 1
- Question: IntelliJ Debugging HOT 4
- Bungeecord Chat missing for 1.15.2? HOT 1
- Release a snapshot version of this plugin HOT 2
- Add overriding the dev server version to readme HOT 1
- Support of Kotlin DSL
- Alternatives section in the README?
- papermc() is not recognized in repository DSL block HOT 6
- Update repositories list in README
- Ensure Gradle Configuration Cache is supported HOT 1
- Rename "meta" to "plugin"
- runServer runs the build tools HOT 1
- Does Bukkit Gradle support CraftBukkit? HOT 2
- Entry plugin.yml duplicate on Gradle 7.1
- apiVersion attribute not being respected HOT 2
- Paper's API has changed package names HOT 1
- 1.18 Release HOT 2
- Do not set JDK 1.8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bukkitgradle.