build: remove license-gradle-plugin
This commit is contained in:
13
build.gradle
13
build.gradle
@@ -3,9 +3,6 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
maven { url 'https://plugins.gradle.org/m2/' }
|
maven { url 'https://plugins.gradle.org/m2/' }
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
classpath 'gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.15.0'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'org.jackhuang'
|
group 'org.jackhuang'
|
||||||
@@ -15,7 +12,6 @@ subprojects {
|
|||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
apply plugin: 'com.github.hierynomus.license'
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@@ -39,15 +35,6 @@ subprojects {
|
|||||||
testCompile group: 'junit', name: 'junit', version: '4.12'
|
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 {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
|
|||||||
Reference in New Issue
Block a user