baritone/settings.gradle

51 lines
1.5 KiB
Groovy
Raw Normal View History

/*
* This file is part of Baritone.
*
* Baritone is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Baritone 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
2021-06-23 17:24:22 +00:00
pluginManagement {
repositories {
2022-12-02 06:04:40 +00:00
mavenLocal()
2021-06-23 17:24:22 +00:00
maven {
2022-12-02 06:04:40 +00:00
name = 'WagYourMaven'
url = 'https://maven.wagyourtail.xyz/snapshots'
2021-06-23 17:24:22 +00:00
}
maven {
2022-12-02 06:04:40 +00:00
name = 'ForgeMaven'
url = 'https://maven.minecraftforge.net/'
2021-06-23 17:24:22 +00:00
}
maven {
2022-12-02 06:04:40 +00:00
name = 'FabricMaven'
url = 'https://maven.fabricmc.net/'
2021-06-23 17:24:22 +00:00
}
mavenCentral()
2022-12-02 06:04:40 +00:00
gradlePluginPortal() {
content {
excludeGroup "org.apache.logging.log4j"
}
}
2021-06-23 17:24:22 +00:00
}
}
rootProject.name = 'baritone'
2022-04-03 04:36:18 +00:00
2022-04-16 09:57:29 +00:00
include("tweaker")
2022-06-08 08:28:22 +00:00
if (System.getProperty("Baritone.enabled_platforms") == null) {
2023-04-13 21:00:11 +00:00
System.setProperty("Baritone.enabled_platforms", "fabric,forge")
2022-06-08 08:28:22 +00:00
}
for (platform in System.getProperty("Baritone.enabled_platforms").split(",")) {
include(platform)
}