Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit f4c4dab

Browse files
author
xtexChooser
committed
build: remove commons-io from buildScript classpath
1 parent f11278d commit f4c4dab

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

build.gradle

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
import org.apache.commons.io.FileUtils
2-
31
import java.nio.charset.StandardCharsets
42

5-
buildscript {
6-
dependencies {
7-
classpath 'commons-io:commons-io:2.11.0'
8-
}
9-
}
10-
113
plugins {
124
id 'fabric-loom' version '1.0-SNAPSHOT'
135
id 'org.jetbrains.kotlin.jvm' version '1.7.10'
@@ -113,7 +105,7 @@ modrinth {
113105
gameVersions = [ project.minecraft_version ]
114106
dependencies = []
115107

116-
syncBodyFrom = FileUtils.readFileToString(rootProject.file('README.md'), StandardCharsets.UTF_8)
108+
syncBodyFrom = new String(rootProject.file('README.md').readBytes(), StandardCharsets.UTF_8)
117109
}
118110

119111
tasks.modrinth.dependsOn(tasks.modrinthSyncBody)

0 commit comments

Comments
 (0)