39 lines
1.4 KiB
Groovy
Executable file
39 lines
1.4 KiB
Groovy
Executable file
/*
|
|
* SwerveIO - A versatile open-source FRC swerve drive library.
|
|
*
|
|
* Copyright (C) 2019-2022 Jordan Bancino <jordan@bancino.net>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published with this
|
|
* source code. You should have received a copy of the GNU General Public
|
|
* License with this program. If you did not, contact the distributors of
|
|
* this program and view it here: https://bancino.net/licenses/gpl-3.0.txt
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*/
|
|
rootProject.name = 'SwerveIO'
|
|
|
|
/*
|
|
* The Maven artifact name is the project name. This allows us
|
|
* to include subprojects with a given name, to make the Maven artifacts
|
|
* more descriptive and user-friendly.
|
|
*/
|
|
def includeAs = { String proj, String name ->
|
|
include proj
|
|
project(proj).name = "${rootProject.name}-${name}"
|
|
}
|
|
|
|
/* Hardware Vendors */
|
|
includeAs(':vendor:ctre', 'CTRE')
|
|
includeAs(':vendor:kauai', "KauaiLabs")
|
|
includeAs(':vendor:rev', "RevRobotics")
|
|
|
|
/* Module Kits */
|
|
includeAs(':kit:sds-mk2', 'SDS-MK2')
|
|
includeAs(':kit:sds-mk3', 'SDS-MK3')
|
|
|
|
/* Misc. addons/plugins */
|
|
includeAs(':misc:virt', "Virtual")
|