Skip to content

Commit

Permalink
chore(overflow): change to overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KurenaiRyu committed Aug 6, 2024
1 parent 590c2eb commit fa1f81e
Show file tree
Hide file tree
Showing 26 changed files with 38 additions and 1,953 deletions.
30 changes: 20 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,23 @@ repositories {
includeGroup("com.github.Nyayurn.Yutori-Next")
}
}
maven {
url = uri("https://mvn.mchv.eu/repository/mchv/")
content {
mavenCentral()
exclusiveContent {
forRepository {
maven("https://mvn.mchv.eu/repository/mchv/")
}
filter {
includeGroup("it.tdlight")
}
}
mavenCentral()
exclusiveContent {
forRepository {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
filter {
includeGroup("top.mrxiaom")
}
}
}

configurations {
Expand Down Expand Up @@ -66,6 +76,7 @@ object Versions {
const val LOMBOK = "1.18.32"
}
dependencies {

implementation("org.jetbrains.kotlin", "kotlin-reflect")
implementation("org.jetbrains.kotlin", "kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlin:kotlin-reflect")
Expand All @@ -83,7 +94,8 @@ dependencies {
implementation("com.github.Nyayurn:Yutori-Next-jvm:master-SNAPSHOT")

// implementation(files("libs/fix-protocol-version-1.8.0.mirai2.jar"))
implementation(files("libs/unidbg-fix.jar"))
// implementation(files("libs/unidbg-fix.jar"))
// implementation(fileTree("libs"))

//exif
implementation("com.ashampoo:kim:0.18.2")
Expand All @@ -107,9 +119,7 @@ dependencies {
implementation(platform("net.mamoe:mirai-bom:${Versions.MIRAI}"))
implementation("net.mamoe:mirai-core")
implementation("net.mamoe:mirai-core-utils")
// implementation("net.mamoe", "mirai-core", miraiVersion)
// implementation("net.mamoe", "mirai-core-api", miraiVersion)
// implementation("net.mamoe", "mirai-core-utils", miraiVersion)
implementation("top.mrxiaom:overflow-core:2.16.0+")

//tdlib
implementation(platform("it.tdlight:tdlight-java-bom:${Versions.TD_LIGHT}"))
Expand Down Expand Up @@ -199,12 +209,12 @@ tasks.withType<JavaCompile> {
}

tasks.register<Delete>("clearLib") {
delete("$buildDir/libs/lib")
delete("${layout.buildDirectory}/libs/lib")
}

tasks.register<Copy>("copyLib") {
from(configurations.runtimeClasspath)
into("$buildDir/libs/lib")
into("${layout.buildDirectory}/libs/lib")
}

tasks.bootJar {
Expand Down
Loading

0 comments on commit fa1f81e

Please sign in to comment.