plugins { id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276 id "io.spring.nohttp" version "0.0.6.RELEASE" } description = "Spring Boot Build" defaultTasks 'build' nohttp { whitelistFile = project.file("src/nohttp/whitelist.lines") source.exclude "**/bin/**" source.exclude "**/build/**" source.exclude "**/out/**" source.exclude "**/target/**" } task build { dependsOn checkstyleNohttp } allprojects { group "org.springframework.boot" repositories { mavenCentral() if (!version.endsWith('RELEASE')) { maven { url "https://repo.spring.io/milestone" } } if (version.endsWith('BUILD-SNAPSHOT')) { maven { url "https://repo.spring.io/snapshot" } } } configurations.all { resolutionStrategy.cacheChangingModulesFor 0, "minutes" } }