JTDLib/build.gradle

41 lines
1.1 KiB
Groovy

/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/4.8.1/userguide/java_library_plugin.html
*/
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
id 'de.fuerstenau.buildconfig' version '1.1.8'
}
sourceCompatibility=10
targetCompatibility=10
buildConfig {
buildConfigField 'int', 'API_ID', '94575'
buildConfigField 'String', 'API_HASH', 'a3406de8d171bb422bb6ddf3bbd800e2'
}
dependencies {
}
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
task fatJar(type: Jar) {
baseName = project.name
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
manifest {
attributes 'Main-Class': 'Main'
}
}