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 scala version, and buildscript #23

Open
wants to merge 12 commits into
base: scala3
Choose a base branch
from

Conversation

master7720
Copy link

No description provided.

LICENSE Outdated
Copy link

@haykam821 haykam821 Mar 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think changing the license is acceptable.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh idk i just changed it so it matched with the newer fabric stuff

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, dont change the license like this, if there is a reason to there is a whole process we would need to go through.

build.gradle Outdated Show resolved Hide resolved
gradle.properties Outdated Show resolved Hide resolved
@modmuss50 modmuss50 changed the title yes yes and yes Update scala version, and buildscript Mar 4, 2024
build.gradle Outdated
// Scala Dependencies
implementation "org.scala-lang:scala3-library_3:${project.scala_version}"
implementation "org.scala-lang:scala-reflect:${project.scala_reflect_version}"
implementation "org.scala-lang.modules:scala-xml_3:${project.scala_xml_version}"// might be unnecessary but wtv
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed or not? I dont see why it would be, why also add scala-reflect?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding scala reflect can add more complex coding practice when using scala. and the xml idk why i added that i think it was just late at night so i wasnt thinking.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks I have removed them. Its much easier to add them later if needed.

}
}

curseforge {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ill add this back.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh i didnt know fabric was on curseforge anymore

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its fine, I would have also removed this plugin as I have my own. Ill sort this out after merging.

Copy link

@Krysztal112233 Krysztal112233 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something may not work fine when I testing about it.

But I'm so happy to know someone working on maintaining fabric-language-scala :)

Comment on lines +20 to +21
// Scala Dependencies
implementation "org.scala-lang:scala3-library_3:${project.scala_version}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it seems right? I don't think this is the correct nested-jar.

After I testing about it, I can't find any bundled jar in fabric-language-scala.

@modmuss50

Maybe correcting it into

modApi(include("org.scala-lang:scala3-library_3:${project.scala_version}"))

like fabric-language-kotlin will be ok?

image
image

@Krysztal112233
Copy link

Wait, I found a problem, it seems that loom is not recognizing my Scala source path correctly?

image
image

loom {
    splitEnvironmentSourceSets()
	mods {
		"kmmo" {
			sourceSet sourceSets.main
			sourceSet sourceSets.client
		}
	}
}

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.

4 participants