Updated dependencies and removed unused dep
This commit is contained in:
parent
9e58e43507
commit
61c4abda5c
@ -4,11 +4,11 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
// __KOTLIN_COMPOSE_VERSION__
|
||||
kotlin("jvm") version "1.5.31"
|
||||
kotlin("kapt") version "1.5.31"
|
||||
kotlin("plugin.serialization") version "1.5.31"
|
||||
kotlin("jvm") version "1.6.10"
|
||||
kotlin("kapt") version "1.6.10"
|
||||
kotlin("plugin.serialization") version "1.6.10"
|
||||
// __LATEST_COMPOSE_RELEASE_VERSION__
|
||||
id("org.jetbrains.compose") version "1.0.0"
|
||||
id("org.jetbrains.compose") version "1.0.1"
|
||||
}
|
||||
|
||||
group = "aeab13.github"
|
||||
@ -28,15 +28,14 @@ dependencies {
|
||||
implementation(compose.desktop.components.splitPane)
|
||||
implementation("org.eclipse.jgit:org.eclipse.jgit:6.0.0.202111291000-r")
|
||||
implementation("org.apache.sshd:sshd-core:2.7.0")
|
||||
implementation("com.google.dagger:dagger:2.40.3")
|
||||
implementation("org.jetbrains.kotlin:kotlin-reflect:1.5.31")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1")
|
||||
kapt("com.google.dagger:dagger-compiler:2.40.3")
|
||||
implementation("com.google.dagger:dagger:2.40.5")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2")
|
||||
kapt("com.google.dagger:dagger-compiler:2.40.5")
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>() {
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
kotlinOptions.allWarningsAsErrors = false
|
||||
kotlinOptions.allWarningsAsErrors = true
|
||||
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
|
||||
}
|
||||
|
||||
|
@ -1,30 +0,0 @@
|
||||
@file:Suppress("UNCHECKED_CAST")
|
||||
|
||||
package app.extensions
|
||||
|
||||
import org.eclipse.jgit.revplot.PlotCommit
|
||||
import org.eclipse.jgit.revplot.PlotLane
|
||||
import kotlin.reflect.full.memberProperties
|
||||
import kotlin.reflect.jvm.isAccessible
|
||||
|
||||
val PlotCommit<PlotLane>.reflectForkingOffLanes: Array<PlotLane>
|
||||
get() {
|
||||
val f = PlotCommit::class.memberProperties.find { it.name == "forkingOffLanes" }
|
||||
f?.let {
|
||||
it.isAccessible = true
|
||||
return it.get(this) as Array<PlotLane>
|
||||
}
|
||||
|
||||
return emptyArray()
|
||||
}
|
||||
|
||||
val PlotCommit<PlotLane>.reflectMergingLanes: Array<PlotLane>
|
||||
get() {
|
||||
val f = PlotCommit::class.memberProperties.find { it.name == "mergingLanes" }
|
||||
f?.let {
|
||||
it.isAccessible = true
|
||||
return it.get(this) as Array<PlotLane>
|
||||
}
|
||||
|
||||
return emptyArray()
|
||||
}
|
Loading…
Reference in New Issue
Block a user