/* * 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' } configurations { fat } 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. implementation(fat("de.tudbut:tuddylib:gitlab-1.0.2")) } mainClassName = 'de.tudbut.gimpshot.GIMPShot' jar { from { configurations.fat.collect { it.isDirectory() ? it : zipTree(it) } } manifest.attributes(['Main-Class':mainClassName]) }