-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
33 lines (29 loc) · 1.35 KB
/
settings.gradle
File metadata and controls
33 lines (29 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
}
rootProject.name = 'facade'
// Applying plugins causes them to not have any IDE support when also applied to any build.gradle files
// The workaround for now is to use this listener here so that it can stay in settings.gradle
// See: https://youtrack.jetbrains.com/issue/IDEA-332061/Gradle-Missing-Code-Completion-Suggestions-for-Settings-Plugins-in-Groovy-DSL
gradle.beforeProject { Project project ->
project.pluginManager.withPlugin('net.minecraftforge.gradleutils') {
project.repositories {
mavenCentral()
maven project.gradleutils.forgeMaven
//mavenLocal()
}
}
}
//formatter:off
dependencyResolutionManagement.versionCatalogs {
register('libs') {
plugin 'licenser', 'net.minecraftforge.licenser' version '1.2.0'
plugin 'gradleutils', 'net.minecraftforge.gradleutils' version '3.3.21'
plugin 'gitversion', 'net.minecraftforge.gitversion' version '3.1.6'
plugin 'changelog', 'net.minecraftforge.changelog' version '3.1.3'
plugin 'shadow', 'com.gradleup.shadow' version '9.2.2'
library 'nulls', 'org.jspecify', 'jspecify' version '1.0.0'
library 'jopt', 'net.sf.jopt-simple', 'jopt-simple' version '6.0-alpha-3'
}
}
//formatter:on