mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-19 00:38:24 +00:00
chore: update the build.gradle file for the dependent plugin api module (#488)
### What this PR does? 更新插件 api 模块的 build.gradle 增加源码 JAR 配置文档以便让其他依赖者能获取到源码和文档便于开发 ```release-note None ```
This commit is contained in:
@@ -152,12 +152,19 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '1.0.0'
|
||||
version = rootProject.version
|
||||
|
||||
repositories {
|
||||
mavenCentral() // 使用 Maven Central 仓库
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
// 包含源码 JAR 包
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API 模块可能需要的一些依赖
|
||||
// 例如:如果需要一些常用的库
|
||||
|
@@ -152,12 +152,19 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.example'
|
||||
version = '1.0.0'
|
||||
version = rootProject.version
|
||||
|
||||
repositories {
|
||||
mavenCentral() // 使用 Maven Central 仓库
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
// 包含源码 JAR 包
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// API 模块可能需要的一些依赖
|
||||
// 例如:如果需要一些常用的库
|
||||
|
Reference in New Issue
Block a user