HMCL/build.gradle

44 lines
819 B
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 {
testImplementation group: 'junit', name: 'junit', version: '4.12'
2018-12-08 21:00:23 +08:00
}
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'