This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle
64 lines (55 loc) · 1.69 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
buildscript {
repositories {
jcenter()
maven { url 'https://www.dimdev.org/maven/' }
maven { url 'https://plugins.gradle.org/m2/' }
maven { url 'http://repo.spongepowered.org/maven' }
}
dependencies {
classpath 'org.dimdev:ForgeGradle:2.3-SNAPSHOT'
classpath 'gradle.plugin.com.github.breadmoirai:github-release:2.0.1'
classpath 'org.spongepowered:mixingradle:0.6-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.tweaker-client'
apply plugin: 'java'
apply plugin: 'org.spongepowered.mixin'
apply plugin: 'maven-publish'
apply plugin: 'com.github.breadmoirai.github-release'
group 'com.legacy.aether'
version '1.0.1'
archivesBaseName = 'aether_legacy'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url 'https://libraries.minecraft.net/' }
maven { url 'https://www.dimdev.org/maven/' }
}
configurations {
ecj
}
dependencies {
ecj 'org.eclipse.jdt.core.compiler:ecj:4.6.1'
implementation 'org.dimdev:rift:1.0.4-66:dev'
implementation('net.minecraft:launchwrapper:1.12') { transitive = false }
implementation 'org.ow2.asm:asm:6.2'
implementation 'org.ow2.asm:asm-commons:6.2'
}
compileJava {
options.fork = true
options.forkOptions.with {
executable = 'java'
jvmArgs = ['-classpath', project.configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main', '-nowarn']
}
}
minecraft {
version = '1.13'
mappings = 'snapshot_20180823'
runDir = 'run'
tweakClass = 'org.dimdev.riftloader.launch.RiftLoaderClientTweaker'
}
mixin {
defaultObfuscationEnv notch
add sourceSets.main, 'mixins.aether_legacy.refmap.json'
}