-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle
71 lines (67 loc) · 2.02 KB
/
settings.gradle
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
pluginManagement {
repositories {
maven {
name = "Luke's Maven"
url = 'https://maven.lukebemish.dev/releases'
}
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'NeoForged'
url = 'https://maven.neoforged.net/'
}
maven {
name = 'Architectury'
url "https://maven.architectury.dev/"
}
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id 'org.gradlex.extra-java-module-info' version '1.8' apply false
id 'dev.lukebemish.managedversioning' version '1.2.26' apply false
// TODO: switch this over to crochet as soon as possible
id 'dev.architectury.loom' version '1.7.414' apply false
id 'dev.lukebemish.conventions' version '0.1.11'
id 'dev.lukebemish.multisource' version '0.2.2'
}
gradle.beforeProject {
it.plugins.apply('org.gradlex.extra-java-module-info')
it.extraJavaModuleInfo {
failOnMissingModuleInfo.set(false)
automaticModule('dev.lukebemish.autoextension:autoextension', 'autoextension')
automaticModule('com.mojang:datafixerupper', 'datafixerupper')
}
}
multisource.of(':') {
repositories {
maven {
name = "Terraformers"
url = "https://maven.terraformersmc.com/"
content {
includeModule 'com.terraformersmc', 'modmenu'
}
}
}
configureEach {
minecraft.add project.libs.minecraft
mappings.add loom.officialMojangMappings()
}
common('minecraft', []) {}
fabric('minecraftFabric', ['minecraft']) {}
neoforge('minecraftNeoforge', ['minecraft']) {
neoForge.add project.libs.neoforge
}
common('testCommon', []) {}
neoforge('testNeoforge', ['testCommon']) {
neoForge.add project.libs.neoforge
}
fabric('testFabric', ['testCommon']) {}
repositories {
it.removeIf { it.name == 'Forge' }
}
}
rootProject.name = 'codecextras'