blob: d01c2e76bc551dabed50bef18373ff59fe0175f0 [file] [log] [blame]
def licenseHeaderFile = rootProject.file('doc/licenses/HEADER.txt')
allprojects {
apply plugin: 'com.github.hierynomus.license'
license {
header = licenseHeaderFile
strictCheck = true
ignoreFailures = true
skipExistingHeaders = true
mapping {
java = 'SLASHSTAR_STYLE'
groovy = 'SLASHSTAR_STYLE'
}
exclude "junit-platform.properties"
exclude "mockito-extensions/org.mockito.plugins.*"
exclude "META-INF/services/org.junit.jupiter.api.extension.Extension"
exclude "org/mockito/internal/util/concurrent/README.md"
exclude "org/mockito/internal/util/concurrent/LICENSE"
ext.year = Calendar.getInstance().get(Calendar.YEAR)
}
}