Skip to content

Commit

Permalink
Merge branch 'beta' of https://github.com/RatPoison-dev/RatPoison int…
Browse files Browse the repository at this point in the history
…o beta
  • Loading branch information
SPRAVEDLIVO committed Oct 25, 2021
2 parents 79bdf79 + 07a31bd commit 02f8ab6
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 22 deletions.
5 changes: 5 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ import java.nio.file.Files
import org.apache.commons.io.FileUtils

buildscript {
ext.kotlin_version = '1.4.21'
ext.jnaVersion = '5.6.0'
ext.gdxVersion = '1.9.14'
ext.kotlin_version = '1.5.31'
ext.jnaVersion = '5.9.0'
ext.gdxVersion = '1.10.0'
ext.visuiVersion = "1.5.0"

repositories {
jcenter()
mavenCentral()
gradlePluginPortal()
}

dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:6.1.0'
classpath "commons-io:commons-io:2.8.0"
classpath 'gradle.plugin.com.github.johnrengelman:shadow:7.1.0'
classpath "commons-io:commons-io:2.11.0"
}
}

Expand All @@ -33,9 +34,8 @@ sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
gradlePluginPortal()
}

dependencies {
Expand All @@ -56,16 +56,16 @@ dependencies {
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-script-util', version: kotlin_version
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-compiler-embeddable', version: kotlin_version

implementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
implementation group: 'commons-io', name: 'commons-io', version: '2.11.0'
implementation 'com.github.ata4:ioutils:b1f26588b5'
implementation 'com.github.ata4:bspsrc:v1.3.24'

implementation group: 'it.unimi.dsi', name: 'fastutil', version: '8.4.4'

implementation group: 'net.openhft', name: 'chronicle-core', version: '2.20.125'
implementation "io.ktor:ktor-client-websockets:1.5.2"
implementation "io.ktor:ktor-client-okhttp:1.5.2"
implementation 'com.google.code.gson:gson:2.8.6'
implementation group: 'net.openhft', name: 'chronicle-core', version: '2.21.92'
implementation "io.ktor:ktor-client-websockets:1.5.4"
implementation "io.ktor:ktor-client-okhttp:1.5.4"
implementation 'com.google.code.gson:gson:2.8.8'
implementation "org.slf4j:slf4j-nop:1.7.31"
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Mon Dec 02 21:43:01 CST 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/rat/poison/game/hooks/EntityIteration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private var signOnState by Delegates.observable(SignOnState.MAIN_MENU) { _, old,

//Find correct tonemap values
// File("$SETTINGS_DIRECTORY\\Data\\ToneMaps.txt").forEachLine { line ->
// if (mapName.toLowerCase().contains(line.split(" : ")[0].toLowerCase())) {
// if (mapName.lowercase().contains(line.split(" : ")[0].lowercase())) {
// //this is working... not needed for now
// }
// }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fun String.upper(): String {
val get = upperCaseCache[this]
return when (get == null) {
true -> {
val tmpStr = this.toUpperCase()
val tmpStr = this.uppercase()
upperCaseCache[this] = tmpStr
tmpStr
}
Expand All @@ -20,7 +20,7 @@ fun String.lower(): String {
val get = lowerCaseCache[this]
return when (get == null) {
true -> {
val tmpStr = this.toLowerCase()
val tmpStr = this.lowercase()
lowerCaseCache[this] = tmpStr
tmpStr
}
Expand Down

0 comments on commit 02f8ab6

Please sign in to comment.