Skip to content

Commit

Permalink
chore: update the build.gradle file for the dependent plugin api module
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Jan 6, 2025
1 parent 5a3610d commit a74ba28
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/developer-guide/plugin/interaction/dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 模块可能需要的一些依赖
// 例如:如果需要一些常用的库
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 模块可能需要的一些依赖
// 例如:如果需要一些常用的库
Expand Down

0 comments on commit a74ba28

Please sign in to comment.