Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Gradle 8.7, for Java 21 support #30

Open
wants to merge 155 commits into
base: kotlin-latest
Choose a base branch
from

Conversation

xtexChooser
Copy link
Contributor

No description provided.

Alumopper and others added 30 commits April 25, 2023 23:59
Signed-off-by: Alumopper <90548686+Alumopper@users.noreply.github.com>
现在命名空间通过工程文件配置并设置默认值为default
Signed-off-by: Alumopper <90548686+Alumopper@users.noreply.github.com>
包名修改
代码整理和优化
不再能直接从函数对象访问其中域的变量,只能通过函数对象含有的域对象访问其中的变量。
修复了if语句中的变量修改会意外更改if外语句原变量的问题
优化调整导出的数据包结构
	new file:   src/main/kotlin/top/mcfpp/lang/JsonString.kt
	new file:   src/main/kotlin/top/mcfpp/lang/MCFloat.kt
	modified:   README.md
	modified:   mcfpp/math/mcfpp.math.json
	modified:   src/main/antlr/mcfpp.g4
	modified:   src/main/java/top/mcfpp/lang/System.java
	modified:   src/main/kotlin/top/mcfpp/lang/Entity.kt
	modified:   src/main/kotlin/top/mcfpp/lang/JsonString.kt
	modified:   src/main/kotlin/top/mcfpp/lang/MCFloat.kt
	modified:   src/main/kotlin/top/mcfpp/lib/McfppExprVisitor.kt
	modified:   test/test.mcfpp
Signed-off-by: Alumopper <90548686+Alumopper@users.noreply.github.com>
Signed-off-by: Alumopper <90548686+Alumopper@users.noreply.github.com>
Alumopper and others added 25 commits May 13, 2024 19:40
修复编译后jar运行时找不到主类的问题
# Conflicts:
#	src/main/java/top/mcfpp/lang/System.java
注释了Selector,将其变更为TODO事项
修复了NativeFunction不能被库读写的问题
修改gradlew与gradlew.bat的文件模式
# Conflicts:
#	src/main/java/top/mcfpp/lang/MCAnyData.java
#	src/main/java/top/mcfpp/lang/MCIntData.java
#	src/main/java/top/mcfpp/lang/NBTListData.java
#	src/main/java/top/mcfpp/lang/System.java
#	src/main/kotlin/top/mcfpp/antlr/McfppGenericClassVisitor.kt
#	src/main/kotlin/top/mcfpp/antlr/McfppLeftExprVisitor.kt
#	src/main/kotlin/top/mcfpp/antlr/McfppTypeVisitor.kt
#	src/main/kotlin/top/mcfpp/io/LibReader.kt
#	src/main/kotlin/top/mcfpp/lang/MCFPPTypeVar.kt
#	src/main/kotlin/top/mcfpp/lang/NBTDictionary.kt
#	src/main/kotlin/top/mcfpp/lib/NativeClass.kt
#	src/main/kotlin/top/mcfpp/model/Template.kt
#	src/main/kotlin/top/mcfpp/model/UnknownClass.kt
#	src/main/kotlin/top/mcfpp/model/field/CompoundDataField.kt
#	src/main/kotlin/top/mcfpp/model/field/IField.kt
#	src/main/kotlin/top/mcfpp/model/field/NamespaceField.kt
#	src/main/kotlin/top/mcfpp/model/field/SimpleFieldWithFunction.kt
#	src/main/kotlin/top/mcfpp/model/function/NativeFunction.kt
#	src/main/kotlin/top/mcfpp/model/generic/GenericClass.kt
#	src/main/kotlin/top/mcfpp/util/Utils.kt
修复了泛型类函数的编译问题
@xtexChooser xtexChooser mentioned this pull request May 24, 2024
@Alumopper
Copy link
Collaborator

Alumopper commented May 25, 2024

不知道为什么我的gradle升级到8.7,使用java 21之后,我就不能正常构建了,不知道是ide的问题还是什么的,之前我试过用java21的说。
至少在我解决我idea用不了之前,先暂时留在java17吧

I don't know why after upgrading my Gradle to 8.7, I couldn't build the project properly. I'm not sure if it's an issue with the IDE or something. I had tried using Java 21 before.
At least stay in Java17 for now until I solve my IDEA's problem.

@xtexChooser
Copy link
Contributor Author

不知道,我在加上 c2f6545 之后就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants