-
Notifications
You must be signed in to change notification settings - Fork 2
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
test: update build.gradle and junit test #3
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left a comment on the build.gradle
. Maybe @Cervator knows whether modifying that file is okay, or whether we could remove it altogether? I just vaguely remember that Kallisti is a somewhat special module...
sourceSets = [project.sourceSets.main] | ||
header = project.file("docs/NOTICE") | ||
ignoreFailures = true | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we keep this? what exactly does it do? Removing some license mangling sounds weird...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are indeed some special license considerations for this when in the context of the standalone Kallisti project, not the Terasology module :-)
Yeah. This is special module. It using native. |
More answer: the reason Kallisti has a custom The Terasology module build completely ignores this file and relies on the standard one copied in by our automation The standalone build does use this file since it needs to be able to find JNLua and other dependencies, which in the Terasology case are provided by the engine It ends up looking weird in a Terasology workspace since the As a consequence this file should not be modified to follow any Terasology changes, but may indeed separately be updated just in general to track the independent Kallisti project. Shouldn't merge this as-is, but I'm not sure what the impact would be to JOMLify it since there is at least one external user |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See other bigger comment: In short we need to coordinate with @asiekierka as this repo builds two different things. The build.gradle
should remain customized for the standalone Kallisti build with no relevance to the Terasology module.
The exact impact from JOMLifying this or changing how unit tests work ... might need some thinking and poking around. Or splitting the repo so we have a plain module and a separate library.
Cannot merge as-is
url "http://artifactory.terasology.org/artifactory/virtual-repo-live" | ||
} | ||
plugins { | ||
id("terasology-module") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Negative - this build file does not serve as a Terasology module. It gets that from Jenkins / other automation. This build file should let it build entirely independently - also the reason why the repo has a Gradle wrapper etc :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all we need is the kallist dependency right :?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Come to think of it - we have a Kallisti both here under the Terasology org and under MovingBlocks. So we could just reduce this one to module-level (no build.gradle
at all, uses JOML) and leave the other repo as-is in case of ever wanting to use Kallisti as a lib, but otherwise not mind it until then
sourceSets = [project.sourceSets.main] | ||
header = project.file("docs/NOTICE") | ||
ignoreFailures = true | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are indeed some special license considerations for this when in the context of the standalone Kallisti project, not the Terasology module :-)
I haven't used Kallisti in a long time and the projects I wanted to use it in have been abandoned. Feel free to cut that out of the picture, if you want to. |
Aw, that's a pity to hear :-( Still, appreciate the quick response, hope all is otherwise well 👍 |
I wouldn't worry about it - a project I'm not really involved in shouldn't have to cater to my past wishes :-) If it makes life easier for you... Other than that, I'm fine, yeah. |
No description provided.