Move starter modules under starters
- Now all starters are kept under spring-shell-starters dir. - Fixes #524
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
Reference in New Issue
Block a user