A library mod that ensures you are running a supported version of Java and can install a supported one if you are not.
This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
TheBrokenRail 2020b895b9
All checks were successful
FreshCoffee/pipeline/head This commit looks good
1.0.2
2020-08-23 16:35:51 -04:00
gradle/wrapper Initial Release 2020-08-22 22:05:06 -04:00
src/main 1.0.2 2020-08-23 16:35:51 -04:00
.gitignore Initial Release 2020-08-22 22:05:06 -04:00
build.gradle Initial Release 2020-08-22 22:05:06 -04:00
CHANGELOG.md 1.0.2 2020-08-23 16:35:51 -04:00
gradle.properties 1.0.2 2020-08-23 16:35:51 -04:00
gradlew Initial Release 2020-08-22 22:05:06 -04:00
gradlew.bat Initial Release 2020-08-22 22:05:06 -04:00
Jenkinsfile Fix Jenkinsfile 2020-08-22 22:23:17 -04:00
LICENSE Initial Release 2020-08-22 22:05:06 -04:00
README.md Improve Description 2020-08-22 22:08:32 -04:00
settings.gradle Initial Release 2020-08-22 22:05:06 -04:00

FreshCoffee

A library mod that ensures you are running a supported version of Java and can install a supported one if you are not.

FreshCoffee is Minecraft version-independent.

Changelog

View Changelog

How To Include

Add this to build.gradle:

repositories {
    maven { url 'https://maven.thebrokenrail.com' }
}
dependencies {
    modRuntime 'com.thebrokenrail:freshcoffee:VERSION'
    include 'com.thebrokenrail:freshcoffee:VERSION'
    // VERSION = "<Mod Version>+<MC Version>", for example "1.0.0+1.16.2"
}

You can set a minimum version of Java by adding this to fabric.mod.json:

{
    "custom": {
        "freshcoffee:minimum_java_version": 14
    }
}

You can set a maximum version of Java by adding this to fabric.mod.json:

{
    "custom": {
        "freshcoffee:maximum_java_version": 14
    }
}