1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00
SKCraft-Launcher/build.gradle

47 lines
999 B
Groovy

buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.1"
}
}
plugins {
id "com.github.johnrengelman.shadow" version "2.0.1"
id 'io.franzbecker.gradle-lombok' version '1.11'
}
println """
*******************************************
You are building SKCraft Launcher!
Output files will be in [subproject]/build/libs
*******************************************
"""
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
group = 'com.skcraft'
version = '4.3-SNAPSHOT'
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
}
if (JavaVersion.current().isJava8Compatible()) {
// Java 8 turns on doclint which we fail
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}