You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
plugins {
id 'java'
}
group = 'com.smartlibrary'
version = '1.0.0'
java {
sourceCompatibility = JavaVersion . VERSION_21
targetCompatibility = JavaVersion . VERSION_21
}
repositories {
mavenCentral ( )
}
dependencies {
// SQLite数据库( 开发/测试)
implementation 'org.xerial:sqlite-jdbc:3.45.0.0'
// PostgreSQL数据库( 生产)
implementation 'org.postgresql:postgresql:42.7.1'
// 日志框架
implementation 'org.slf4j:slf4j-api:2.0.9'
implementation 'org.slf4j:slf4j-simple:2.0.9'
// AI服务依赖
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.google.code.gson:gson:2.11.0'
// PlantUML
implementation 'net.sourceforge.plantuml:plantuml:1.2024.8'
// WebSocket (for voice services)
implementation 'org.java-websocket:Java-WebSocket:1.5.3'
// 测试依赖
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.1'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks . named ( 'test' ) {
useJUnitPlatform ( )
}
jar {
manifest {
attributes (
'Implementation-Title' : 'Smart Library Core' ,
'Implementation-Version' : version
)
}
}