Skip to content

Commit

Permalink
remove kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
Badtz committed Mar 2, 2024
1 parent 1c1d417 commit 6a3d4aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
7 changes: 0 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id 'fabric-loom' version '1.3-SNAPSHOT'
id 'maven-publish'
id "org.jetbrains.kotlin.jvm" version "1.9.10"
}

version = project.mod_version
Expand Down Expand Up @@ -60,7 +59,6 @@ dependencies {

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "net.fabricmc:fabric-language-kotlin:${project.fabric_kotlin_version}"
// Uncomment the following line to enable the deprecated Fabric API modules.
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.

Expand All @@ -79,11 +77,6 @@ tasks.withType(JavaCompile).configureEach {
it.options.release = 17
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = 17
}
}

task copyTask(type: Copy) {
from 'build/libs'
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ org.gradle.parallel=true
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
loader_version=0.14.22
fabric_kotlin_version=1.10.10+kotlin.1.9.10

# Mod Properties
mod_version=1.0.0
Expand Down
5 changes: 2 additions & 3 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@
"fabricloader": ">=0.14.22",
"minecraft": "~1.20.1",
"java": ">=17",
"fabric-api": "*",
"fabric-language-kotlin": ">=1.9.10"
"fabric-api": "*"
},
"suggests": {
"another-mod": "*"
}
}
}

0 comments on commit 6a3d4aa

Please sign in to comment.