Skip to content

Commit

Permalink
feat: Turbo编译加速对接权限中心RBAC TencentBlueKing#316
Browse files Browse the repository at this point in the history
  • Loading branch information
eazence committed Nov 19, 2024
1 parent 7cc37a6 commit 3a374ec
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/backend/turbo/api-turbo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dependencies {
api(project(":common-turbo:common-turbo-util"))
compileOnly("org.springframework.boot:spring-boot-starter-web")
compileOnly("org.springframework.cloud:spring-cloud-openfeign-core")
api("com.tencent.bk.devops.ci.common:common-api:${Versions.ciVersion}") {
api("com.tencent.bk.devops.ci.common:common-api") {
isTransitive = false
}
}
Expand Down
8 changes: 1 addition & 7 deletions src/backend/turbo/biz-turbo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ dependencies {
api("com.google.guava:guava")
api("io.jsonwebtoken:jjwt")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core")
api("com.tencent.bk.devops.ci.project:api-project:${Versions.ciVersion}"){
isTransitive = false
}
api("com.tencent.bk.devops.ci.common:common-api:${Versions.ciVersion}"){
isTransitive = false
}
api("com.tencent.bk.devops.ci.auth:api-auth:${Versions.ciVersion}"){
api("com.tencent.bk.devops.ci.project:api-project") {
isTransitive = false
}
}
5 changes: 5 additions & 0 deletions src/backend/turbo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ allprojects {
dependency("com.google.guava:guava:${Versions.guavaVersion}")
dependency("io.jsonwebtoken:jjwt:${Versions.jjwtVersion}")
dependency("commons-io:commons-io:${Versions.commonIo}")
dependency("com.tencent.bk.sdk:iam-java-sdk:${Versions.iamSdkVersion}")
dependency("com.tencent.bk.devops.ci.common:common-api:${Versions.ciVersion}")
dependency("com.tencent.bk.devops.ci.auth:api-auth:${Versions.ciVersion}")
dependency("com.tencent.bk.devops.ci.common:common-auth-api:${Versions.ciVersion}")
dependency("com.tencent.bk.devops.ci.project:api-project:${Versions.ciVersion}")
dependencySet("io.swagger:${Versions.swaggerVersion}") {
entry("swagger-annotations")
entry("swagger-jersey2-jaxrs")
Expand Down
1 change: 1 addition & 0 deletions src/backend/turbo/buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ object Versions {
const val okHttpVersion = "4.9.0"
const val Kotlin = "1.6.0"
const val coroutinesCore = "1.3.1"
const val iamSdkVersion = "1.0.21-SNAPSHOT"
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
dependencies {
api(project(":common-turbo:common-turbo-client"))
api("com.tencent.bk.devops.ci.auth:api-auth:${Versions.ciVersion}") {
api("com.tencent.bk.sdk:iam-java-sdk") {
isTransitive = false
}
api("com.tencent.bk.devops.ci.common:common-auth-api:${Versions.ciVersion}"){
api("com.tencent.bk.devops.ci.auth:api-auth") {
isTransitive = false
}
api("com.tencent.bk.devops.ci.common:common-auth-api"){
isTransitive = false
}
}

0 comments on commit 3a374ec

Please sign in to comment.