feat: 推了很多进度。
This commit is contained in:
@ -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.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user