Files
spring-shell/build.gradle
Janne Valkealahti 39c4519a3f Add gradle build files
- First set of changes for introduction of a gradle build.
- Relates #470
2022-08-16 10:30:15 +01:00

33 lines
674 B
Groovy

plugins {
id "base"
id 'org.springframework.shell.root'
}
description = 'Spring Shell'
repositories {
maven { url 'https://repo.spring.io/snapshot' }
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/release' }
mavenCentral()
}
allprojects {
group = 'org.springframework.shell'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/release' }
if (version.contains('-')) {
maven { url "https://repo.spring.io/milestone" }
}
if (version.endsWith('-SNAPSHOT')) {
maven { url "https://repo.spring.io/snapshot" }
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 1, 'hours'
}
}