Replace license plugin usage

This commit is contained in:
Goooler 2021-08-24 21:28:40 +08:00 committed by Connor Tumbleson
parent c9d28de8c1
commit 6df6beb38d

View File

@ -40,16 +40,14 @@ buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0"
classpath "gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.16.1"
}
}
plugins {
id 'com.github.hierynomus.license' version '0.16.1'
}
apply from: 'gradle/functions.gradle'
version = '2.5.1'
@ -59,7 +57,8 @@ defaultTasks 'build', 'shadowJar', 'proguard'
allprojects {
apply plugin: 'java'
apply plugin: 'license'
apply plugin: 'com.github.hierynomus.license'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8