mirror of
https://github.com/LamGC/oracle-manager.git
synced 2025-04-29 14:17:33 +00:00
60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm") version "1.6.20"
|
|
`maven-publish`
|
|
}
|
|
|
|
group = "net.lamgc.scext"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("io.github.microutils:kotlin-logging:2.1.21")
|
|
compileOnly("net.lamgc:scalabot-extension:0.1.0")
|
|
|
|
val ociSdkVer = "2.22.0"
|
|
implementation("com.oracle.oci.sdk:oci-java-sdk-core:$ociSdkVer")
|
|
implementation("com.oracle.oci.sdk:oci-java-sdk-identity:$ociSdkVer")
|
|
implementation("com.oracle.oci.sdk:oci-java-sdk-objectstorage:$ociSdkVer")
|
|
|
|
implementation("org.apache.httpcomponents.client5:httpclient5:5.1.3")
|
|
|
|
implementation("org.ktorm:ktorm-core:3.4.1")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.20")
|
|
implementation("org.xerial:sqlite-jdbc:3.36.0.3")
|
|
|
|
implementation("com.google.code.gson:gson:2.9.0")
|
|
|
|
testImplementation(kotlin("test"))
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
mavenLocal()
|
|
}
|
|
|
|
publications {
|
|
create<MavenPublication>("maven") {
|
|
from(components["java"])
|
|
|
|
pom {
|
|
name.set("Oracle-manager")
|
|
description.set("在 Telegram 管理你的 Oracle.")
|
|
}
|
|
}
|
|
}
|
|
|
|
} |