Skip to content

Commit

Permalink
feat: fix jcasbin dependency conflict in gradle (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
loukkyy authored Mar 10, 2024
1 parent d0991e7 commit a5221b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ dependencies {
compileOnly 'org.casbin:jcasbin-redis-watcher:1.4.1'
runtimeOnly 'com.h2database:h2:2.2.224'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.casbin:jdbc-adapter:2.5.0'
implementation('org.casbin:jdbc-adapter:2.5.0') {
exclude group: 'org.casbin', module: 'jcasbin'
}
implementation 'org.casbin:jcasbin-lettuce-redis-watcher:1.1.0'

annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
Expand All @@ -53,4 +55,4 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-data-redis'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.assertj:assertj-core'
}
}

0 comments on commit a5221b0

Please sign in to comment.