mirror of
https://github.com/LamGC/oracle-manager.git
synced 2025-12-16 07:00:45 +00:00
initial: 初步完成了账号管理功能.
This commit is contained in:
60
build.gradle.kts
Normal file
60
build.gradle.kts
Normal file
@ -0,0 +1,60 @@
|
||||
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.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user