Skip to content

Commit

Permalink
3.1.1
Browse files Browse the repository at this point in the history
- Fix issue with initial position estimate being very bad (Fix #10)
- Bump dependencies
  • Loading branch information
DRSchlaubi committed Jan 14, 2022
1 parent 071a2f4 commit dac6b16
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

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

2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "dev.schlaubi.lavakord"
version = "3.1.0"
version = "3.1.1"

allprojects {
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ internal class WebsocketPlayer(internal val node: NodeImpl, internal val guildId
}

private fun handleNewTrack(event: TrackStartEvent) {
updateTime = Clock.System.now()
lastPosition = event.track.position
playingTrack = event.track
}
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 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kotlin {
dependencies {
api(projects.core)
api(projects.jda)
api("net.dv8tion:JDA:4.2.1_253") {
api("net.dv8tion:JDA:5.0.0-alpha.4") {
exclude(module = "opus-java")
}
implementation(libs.kotlinx.coroutines.jdk8)
Expand Down
2 changes: 1 addition & 1 deletion jda/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ kotlin {
jvmMain {
dependencies {
api(projects.core)
implementation("net.dv8tion:JDA:5.0.0-alpha.3") {
implementation("net.dv8tion:JDA:5.0.0-alpha.4") {
exclude(module = "opus-java")
}
}
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ fun VersionCatalogBuilder.kotlinx() {
alias("kotlinx-coroutines-jdk8").to("org.jetbrains.kotlinx", "kotlinx-coroutines-jdk8").versionRef(coroutines)
alias("kotlinx-coroutines-test").to("org.jetbrains.kotlinx", "kotlinx-coroutines-test").versionRef(coroutines)
alias("kotlinx-serialization-json").to("org.jetbrains.kotlinx", "kotlinx-serialization-json").version("1.3.2")
alias("kotlinx-datetime").to("org.jetbrains.kotlinx", "kotlinx-datetime").version("0.3.1")
alias("kotlinx-datetime").to("org.jetbrains.kotlinx", "kotlinx-datetime").version("0.3.2")
}

fun VersionCatalogBuilder.ktor() {
val ktor = version("ktor", "1.6.3")
val ktor = version("ktor", "1.6.7")
alias("ktor-io").to("io.ktor", "ktor-io").versionRef(ktor)
alias("ktor-utils").to("io.ktor", "ktor-utils").versionRef(ktor)
alias("ktor-client-websockets").to("io.ktor", "ktor-client-websockets").versionRef(ktor)
Expand Down

0 comments on commit dac6b16

Please sign in to comment.