-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
120 lines (99 loc) · 2.87 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
buildscript {
ext.kotlinVersion = '1.9.21'
ext.ppcVersion = '1.8.1'
ext.neiVersion = '2.5.17'
ext.ccVersion = '1.2.1'
repositories {
mavenCentral()
maven {
url = "https://jcenter.bintray.com/"
}
maven {
name = "forge"
url = "https://maven.minecraftforge.net/"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
classpath ('com.anatawa12.forge:ForgeGradle:1.2-1.1.+') {
changing = true
}
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
apply plugin: 'idea'
apply plugin: 'forge'
apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'maven-publish'
version = "v0.2-b7"
group = "club.someoneice.ovo"
archivesBaseName = "WithJson-1.7.10"
minecraft {
version = "1.7.10-10.13.4.1614-1.7.10"
runDir = "minecraft"
}
repositories {
mavenCentral()
maven {
name = "AmarokMaven"
url "http://maven.snowlyicewolf.club/"
allowInsecureProtocol = true
}
maven {
name = "jitpack"
url = "https://jitpack.io"
}
maven {
name "Curse Maven"
url "https://cursemaven.com"
}
maven {
name "Modrinth Maven"
url "https://api.modrinth.com/maven"
}
flatDir{
dirs 'lib'
}
}
dependencies {
/* Kotlin */
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
implementation "curse.maven:AJSCore-445557:5155186"
// implementation 'com.google.code.gson:gson:2.11.0'
/* Pineapple Libraries */
implementation "club.someoneice.pineapplepsychic:pineapple-psychic:$ppcVersion"
// implementation "club.someoneice.togocup.recipebook:PineappleRecipeBook:1.0"
/* ManaMetalMod */
implementation "curse.maven:Muya-530214:4364097"
implementation "curse.maven:ManaMetalMod-531708:4957568"
implementation "maven.modrinth:notenoughitems-unofficial:${project.neiVersion}-GTNH"
implementation "maven.modrinth:codechickencore-unofficial:${project.ccVersion}"
implementation "maven.modrinth:codechickenlib-unofficial:${project.ccVersion}"
}
tasks.withType(Jar) {
compileJava.options.encoding = 'UTF-8'
compileJava.options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
sourceCompatibility = targetCompatibility = "1.8"
compileKotlin.kotlinOptions.jvmTarget = "1.8"
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
filesMatching('mcmod.info') {
expand 'modversion':project.version, 'mcversion':project.minecraft.version
}
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}