Move starter modules under starters

- Now all starters are kept under spring-shell-starters dir.
- Fixes #524
This commit is contained in:
Janne Valkealahti
2022-09-08 13:12:12 +01:00
parent ae7802204d
commit f2009e2cb3
7 changed files with 15 additions and 7 deletions

View File

@@ -48,10 +48,18 @@ include 'spring-shell-docs'
include 'spring-shell-samples'
include 'spring-shell-standard'
include 'spring-shell-standard-commands'
include 'spring-shell-starter'
include 'spring-shell-starter-jna'
include 'spring-shell-table'
rootProject.children.each {project ->
project.buildFileName = "${project.name}.gradle"
file("${rootDir}/spring-shell-starters").eachDirMatch(~/spring-shell-starter.*/) {
include "spring-shell-starters:${it.name}"
}
rootProject.children.each { project ->
if (project.name == 'spring-shell-starters') {
project.children.each { subproject ->
subproject.buildFileName = "${subproject.name}.gradle"
}
} else {
project.buildFileName = "${project.name}.gradle"
}
}

View File

@@ -6,7 +6,7 @@ description = 'Spring Shell Documentation'
dependencies {
management platform(project(":spring-shell-management"))
implementation project(':spring-shell-starter')
implementation project(':spring-shell-starters:spring-shell-starter')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

View File

@@ -8,7 +8,7 @@ description = 'Spring Shell Samples'
dependencies {
management platform(project(":spring-shell-management"))
implementation project(':spring-shell-starter-jna')
implementation project(':spring-shell-starters:spring-shell-starter-jna')
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

View File

@@ -6,6 +6,6 @@ description = 'Spring Shell Starter Jna'
dependencies {
management platform(project(':spring-shell-management'))
api(project(':spring-shell-starter'))
api(project(':spring-shell-starters:spring-shell-starter'))
implementation 'org.jline:jline-terminal-jna'
}