This API is for the General purpose of building graphs consisting of nodes and connectors that are divided into groups and grids. Groups are sets of nodes and connectors that are located next to each other and may not necessarily have a connection. Grids are already sets of connectors connected to each other which can be several in a group.
Its main purpose is to help create systems for exchanging information between nodes with simplified calculations. The library also allows you to create controllers for each group that will be responsible for the logic. The API is written without using additional libraries other than FastUtils.
Currently, two artifacts classes has been defined:
tesseract
which includes (path:$projectDir/
):base
is the shared code (compiled),fat
is the full mod working with both Forge and (in the future) Fabric,dev
is same asfat
but not obfuscated, made to run in development environments.
tesseract-forge
which includes (path:$projectDir/forge
):- default unused,
all
is the mod for Forge only,dev
is same asall
but not obfuscated, made to run in development environments,sources
is the source code (not fully ready).
It's as simple as running:
./gradlew build
Then you will find full mod in the right build/libs
directories.
Currently only Forge is supported, use this in your build.gradle
repositories {
maven {
url = 'https://files.axelandre42.ovh/maven/'
}
}
dependencies {
// TODO update version:
implementation 'com.github.gregtech-intergalactical:tesseract-forge:${tesseract_version}:dev'
}
First you'll need a repository (files.axelandre42.ovh/maven is reserved to official releases).
Then set your environment variables:
MAVEN_URL
Maven Repository URL.MAVEN_USERNAME
Your username on the repository.MAVEN_PASSWORD
Your password on the repository.
And finally run: ./gradlew publish
Use the bumpMajor
, bumpMinor
and bumpRevision
to increment version.
If the project is build from CI, it will append the build number automatically.
Otherwise it'll try to get the Git short revision ID.