-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
70 lines (59 loc) · 1.62 KB
/
build.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
plugins {
id "idea"
id 'java'
id "dev.architectury.architectury-pack200" version "0.1.3"
id "gg.essential.loom" version "0.10.0.+"
id "net.kyori.blossom" version "1.3.0"
}
group 'uk.co.hexeption'
version '1.0.0'
archivesBaseName = 'SBOutline'
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
}
loom {
launchConfigs {
client {
arg("--tweakClass", "cc.polyfrost.oneconfigwrapper.OneConfigWrapper")
}
}
runs {
"client" {
property('devauth.enabled','true')
client()
}
}
forge {
pack200Provider.set(new dev.architectury.pack200.java.Pack200Adapter())
}
}
configurations {
include
implementation.extendsFrom(include)
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
maven {url "https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1"}
maven { url 'https://repo.polyfrost.cc/releases' }
}
dependencies {
minecraft("com.mojang:minecraft:1.8.9")
mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9")
forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9")
compileOnly('cc.polyfrost:oneconfig-1.8.9-forge:0.2.0-alpha+')
include('cc.polyfrost:oneconfig-wrapper-launchwrapper:1.0.0-alpha+')
modRuntimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.0")
}
test {
useJUnitPlatform()
}
jar {
dependsOn configurations.include
manifest.attributes(
'ModSide': 'CLIENT',
'ForceLoadAsMod': true,
"TweakOrder": "0",
'TweakClass': "cc.polyfrost.oneconfigwrapper.OneConfigWrapper"
)
}