build: remove license-gradle-plugin

This commit is contained in:
Haowei Wen 2021-01-09 22:18:53 +08:00 committed by Yuhui Huang
parent 2d7c1393d6
commit 3f2be63d08

View File

@ -3,9 +3,6 @@ buildscript {
jcenter()
maven { url 'https://plugins.gradle.org/m2/' }
}
dependencies {
classpath 'gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.15.0'
}
}
group 'org.jackhuang'
@ -15,7 +12,6 @@ subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven-publish'
apply plugin: 'com.github.hierynomus.license'
repositories {
mavenCentral()
@ -39,15 +35,6 @@ subprojects {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
license {
header rootProject.file('license-header.txt')
strictCheck true
ext.year = Calendar.getInstance().get(Calendar.YEAR)
mapping {
java='SLASHSTAR_STYLE'
}
}
publishing {
publications {
maven(MavenPublication) {