Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
baichangda committed Jul 26, 2024
1 parent 34a6ca6 commit 0e53bea
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,7 @@ subprojects {
}
}

//所有协议实现的包依赖管理
if(it.name.startsWith('parser-protocol-')){
dependencies {
api(project(":parser-base"))
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
api group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "2.17.2"
}
}


java {
sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -65,13 +58,23 @@ subprojects {
mavenCentral()
}

//所有模块需要测试环境依赖
dependencies {
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.11.0-M2'
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-slf4j2-impl
testImplementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j2-impl', version: '2.23.1'
}

//所有协议实现的包依赖管理
if(it.name.startsWith('parser-protocol-')){
dependencies {
api(project(":parser-base"))
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
api group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "2.17.2"
}
}

//下载源码和文档
//gradle cleanIdea idea
idea {
Expand Down

0 comments on commit 0e53bea

Please sign in to comment.