feat: 推了很多进度。

This commit is contained in:
2024-01-08 08:57:59 +08:00
parent aa84499d62
commit 4e07309066
8 changed files with 401 additions and 68 deletions

View File

@ -2,6 +2,7 @@ import java.net.URI
plugins {
kotlin("jvm") version "1.9.21"
`maven-publish`
}
group = "net.lamgc.scext"
@ -19,8 +20,14 @@ repositories {
dependencies {
compileOnly("org.slf4j:slf4j-api:2.0.10")
compileOnly("io.github.microutils:kotlin-logging:3.0.5")
implementation("ch.qos.logback:logback-classic:1.4.14")
compileOnly("net.lamgc:scalabot-extension:0.6.1")
implementation("com.fasterxml.jackson.core:jackson-core:2.16.1")
implementation("com.fasterxml.jackson.core:jackson-databind:2.16.1")
implementation("com.fasterxml.jackson.core:jackson-annotations:2.16.1")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.16.1")
val exposedVersion = "0.45.0"
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
implementation("org.jetbrains.exposed:exposed-crypt:$exposedVersion")
@ -44,3 +51,27 @@ tasks.test {
kotlin {
jvmToolchain(17)
}
publishing {
repositories {
// maven("https://git.lamgc.me/api/packages/LamGC/maven") {
// credentials {
// username = project.properties["repo.credentials.self-git.username"].toString()
// password = project.properties["repo.credentials.self-git.password"].toString()
// }
// }
mavenLocal()
}
publications {
create<MavenPublication>("maven") {
from(components["java"])
pom {
name.set("ScalaExt-OneDriveTransfer")
description.set("将 Telegram 中的文件转存至 OneDrive.")
}
}
}
}