Skip to content

Commit ffa47a1

Browse files
committed
accessTransformer added.
gson dependency added. Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent d59130d commit ffa47a1

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

build.gradle

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ configurations {
4040
}
4141

4242
minecraft {
43+
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
44+
4345
mappings(
4446
channel: forge_mappings_channel_type,
4547
version: forge_mappings_channel_version
@@ -77,7 +79,6 @@ minecraft {
7779
repositories {
7880
jcenter()
7981
mavenCentral()
80-
maven { url("https://minecraft.curseforge.com/api/maven/") }
8182
maven { url("https://libraries.minecraft.net") }
8283
maven { url("https://jitpack.io") }
8384
}
@@ -115,6 +116,8 @@ dependencies {
115116
name: "ProjectEssentials-Cooldown",
116117
version: cooldown_version
117118
)
119+
compile group: 'org.json', name: 'json', version: '20190722'
120+
embed group: 'org.json', name: 'json', version: '20190722'
118121
}
119122

120123
dokka {
@@ -173,10 +176,3 @@ sourceCompatibility = targetCompatibility =
173176

174177
compileKotlin.kotlinOptions.jvmTarget =
175178
compileTestKotlin.kotlinOptions.jvmTarget = project_jvm_version_target
176-
177-
//noinspection GroovyAssignabilityCheck
178-
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
179-
kotlinOptions {
180-
freeCompilerArgs += "-Xuse-experimental=kotlin.Experimental"
181-
}
182-
}

0 commit comments

Comments
 (0)