Skip to content

Commit

Permalink
build: Removed CLI from build
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Apr 28, 2023
1 parent 5bcaa5b commit 22b6206
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ hs_err_pid*.log
*.iml
.vscode
/README.html
/spring-shell.log
spring-shell.log
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ apply plugin: 'org.kordamp.gradle.kordamp-parentbuild'
rootProject.name = 'redis-smart-cache'

projects {
directories = ['core', 'demo', 'tools']
directories = ['core', 'demo']

plugins {
all {
Expand All @@ -29,7 +29,7 @@ projects {
path(':') {
id 'org.kordamp.gradle.java-project'
}
dirs(['core', 'demo', 'tools']) {
dirs(['core', 'demo']) {
id 'java-library'
id 'org.springframework.boot'
id 'io.spring.dependency-management'
Expand Down
9 changes: 9 additions & 0 deletions tools/redis-smart-cache-cli/redis-smart-cache-cli.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ dependencies {
implementation 'org.springframework.shell:spring-shell-starter'
}

publishing {
publications {
bootJava(MavenPublication) {
artifact bootJar
artifactId bootJar.baseName
}
}
}

dependencyManagement {
imports {
mavenBom "org.springframework.shell:spring-shell-dependencies:${springShellVersion}"
Expand Down
Empty file.

0 comments on commit 22b6206

Please sign in to comment.