-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (38 loc) · 1.16 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
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'application'
project.version = '0.1.0'
sourceCompatibility = 8
mainClassName = "io.github.anvilloystudio.minimods.mod.core.redstone.Main"
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenCentral()
maven {
url "https://nexus.velocitypowered.com/repository/maven-public/"
}
}
dependencies {
api project(":")
// Use the following for local modding
// implementation files("minicraft_plus_mods-x.x.x-x.x.x.jar")
implementation "org.spongepowered:mixin:0.8.5"
annotationProcessor "org.spongepowered:mixin:0.8.5:processor"
}
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
}
}
jar {
archivesBaseName = 'core-redstone'
archiveClassifier.set('')
manifest {
attributes('Main-Class': mainClassName,
'Implementation-Title': project.name,
'Implementation-Version': project.version/*, NO USE CURRENTLY
'SplashScreen-Image': "Minicraft_Splash_Screen_3.png"*/)
}
}