-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (49 loc) · 1.18 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
buildscript {
repositories {
maven {
url 'https://maven.minecraftforge.net'
}
maven {
url 'https://jitpack.io'
}
}
dependencies {
classpath 'com.github.asbyth:ForgeGradle:FG_2.1-SNAPSHOT'
}
}
plugins {
id 'java'
}
apply plugin: 'net.minecraftforge.gradle.forge'
group 'ru.mdashlw.hypixel.smartreply'
version '1.1.0'
archivesBaseName = 'SmartReply'
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
compileJava.options.encoding = 'UTF-8'
repositories {
}
dependencies {
}
minecraft {
version = '1.8.9-11.15.1.2318-1.8.9'
runDir = 'run'
mappings = 'stable_22'
makeObfSourceJar = false
}
processResources {
inputs.property 'version', project.version
inputs.property 'mcversion', project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version': project.version, 'mcversion': project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
rename '(.+_at.cfg)', 'META-INF/$1'
}
jar {
manifest {
attributes 'FMLAT': 'smartreply_at.cfg'
}
}