Files
HMCL/build.gradle
Glavo 8fc1ec7bb8 替换对 JDK 内置 Pack200 的依赖,允许在 JDK14 及更高版本上构建项目 (#904)
* fix: Pack200 has been removed

* Automatically add pack200 to class path

* add license header to Pack200Utils.java
2021-07-10 22:44:13 +08:00

53 lines
931 B
Groovy

buildscript {
repositories {
jcenter()
maven { url 'https://plugins.gradle.org/m2/' }
}
}
plugins {
id 'checkstyle'
}
group 'org.jackhuang'
version '3.0'
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven-publish'
apply plugin: 'checkstyle'
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
checkstyle {
sourceSets = []
}
sourceCompatibility = 1.8
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}
}
defaultTasks 'clean', 'build'