plugins { id "base" id 'org.springframework.statemachine.root' } description = 'Spring Statemachine' 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.statemachine' 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' } }