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:
guqing
2025-01-06 23:31:30 +08:00
committed by GitHub
parent 5a3610dbc0
commit f3ec38c7d9
2 changed files with 16 additions and 2 deletions

View File

@@ -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 模块可能需要的一些依赖
// 例如:如果需要一些常用的库

View File

@@ -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 模块可能需要的一些依赖
// 例如:如果需要一些常用的库