2022-07-13 19:56:35 +02:00
|
|
|
/*
|
|
|
|
* This file was generated by the Gradle 'init' task.
|
|
|
|
*
|
|
|
|
* This generated file contains a sample Java application project to get you started.
|
|
|
|
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
|
|
|
|
* User Manual available at https://docs.gradle.org/7.4.2/userguide/building_java_projects.html
|
|
|
|
*/
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
// Apply the application plugin to add support for building a CLI application in Java.
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
2022-07-13 22:20:28 +02:00
|
|
|
configurations {
|
|
|
|
fat
|
|
|
|
}
|
|
|
|
|
2022-07-13 19:56:35 +02:00
|
|
|
repositories {
|
|
|
|
// Use Maven Central for resolving dependencies.
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url = 'https://gitlab.zyonicsoftware.com/api/v4/projects/160/packages/maven'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// This dependency is used by the application.
|
2022-07-13 22:20:28 +02:00
|
|
|
implementation(fat("de.tudbut:tuddylib:gitlab-1.0.2"))
|
2022-07-13 19:56:35 +02:00
|
|
|
}
|
|
|
|
|
2022-07-13 22:20:28 +02:00
|
|
|
mainClassName = 'de.tudbut.gimpshot.GIMPShot'
|
2022-07-13 19:56:35 +02:00
|
|
|
|
2022-07-13 22:20:28 +02:00
|
|
|
jar {
|
|
|
|
from { configurations.fat.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
|
|
manifest.attributes(['Main-Class':mainClassName])
|
2022-07-13 19:56:35 +02:00
|
|
|
}
|
2022-07-13 22:20:28 +02:00
|
|
|
|