Files
HMCL/build.gradle

52 lines
1.3 KiB
Groovy
Raw Normal View History

2018-12-08 21:00:23 +08:00
buildscript {
repositories {
jcenter()
maven { url 'https://plugins.gradle.org/m2/' }
}
}
group 'org.jackhuang'
version '3.0'
subprojects {
apply plugin: 'java'
apply plugin: 'idea'
2020-08-11 11:25:23 +08:00
apply plugin: 'maven-publish'
2018-12-08 21:00:23 +08:00
repositories {
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
sourceCompatibility = 1.8
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
dependencies {
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
compile group: 'org.tukaani', name: 'xz', version: '1.8'
compile group: 'org.hildan.fxgson', name: 'fx-gson', version: '3.1.0'
compile group: 'org.jenkins-ci', name: 'constant-pool-scanner', version: '1.2'
compile group: 'com.github.steveice10', name: 'opennbt', version: '1.1'
compile group: 'com.nqzero', name: 'permit-reflect', version: '0.3'
compileOnly group: 'org.jetbrains', name: 'annotations', version: '16.0.3'
2018-12-08 21:00:23 +08:00
testCompile group: 'junit', name: 'junit', version: '4.12'
}
2020-08-11 11:25:23 +08:00
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
repositories {
mavenLocal()
}
}
2018-12-08 21:00:23 +08:00
}
2019-01-05 18:49:28 +08:00
defaultTasks 'clean', 'build'