Skip to content

TeamMeanMachine/meanlib

Repository files navigation

Meanlib

Meanlib is a Kotlin FRC Robot utility library made by Team 2471 Mean Machine.

Installation

Add meanlib as a submodule:

git submodule add https://github.com/TeamMeanMachine/meanlib/

Checkout the current year's branch:

git checkout frc[CURRENT_YEAR] # ex: git checkout frc2026

Add meanlib to your build.gradle dependencies:

dependencies {
    implementation(project(":meanlib"))
    ..
}

Add meanlib to the jar task in your build.gradle:

jar {
    dependsOn(':meanlib:jar') // <- add me

    from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
    from sourceSets.main.allSource
    manifest GradleRIOPlugin.javaManifest(ROBOT_MAIN_CLASS)
    duplicatesStrategy = DuplicatesStrategy.INCLUDE
}

About

A Kotlin FRC library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 17