This repository has been archived on 2023-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
Flan-s-Mod-Updater/build.gradle
Mathieu Broillet 9d2435b2a6 Initial commit
2020-01-05 10:03:36 +01:00

41 lines
858 B
Groovy

plugins {
id 'java'
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
group 'flansupdater'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = 'ch.m4th1eu.flansupdater.Main'
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
}
dependencies {
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
compile group: 'net.lingala.zip4j', name: 'zip4j', version: '2.2.8'
testCompile "junit:junit:4.12"
}
jar {
baseName = 'flans-updater'
version = '0.1'
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes(
'Main-Class': 'ch.m4th1eu.flansupdater.Main'
)
}
}