mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2024-11-21 03:10:58 +08:00
cc087dee81
* use api & implementation scope, instead of compile * add shadow plugin back * related: https://github.com/huanghongxun/HMCL/pull/863 * the duplicate entry bug is fixed * move dependencies from root project to HMCLCore module
44 lines
819 B
Groovy
44 lines
819 B
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
maven { url 'https://plugins.gradle.org/m2/' }
|
|
}
|
|
}
|
|
|
|
group 'org.jackhuang'
|
|
version '3.0'
|
|
|
|
subprojects {
|
|
apply plugin: 'java'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'maven-publish'
|
|
|
|
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'
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
from components.java
|
|
}
|
|
}
|
|
repositories {
|
|
mavenLocal()
|
|
}
|
|
}
|
|
}
|
|
|
|
defaultTasks 'clean', 'build'
|