Skip to content

Instantly share code, notes, and snippets.

@jottinger
Created August 2, 2021 12:33
Show Gist options
  • Save jottinger/1d878acc2dc4cc217c118df24037b999 to your computer and use it in GitHub Desktop.
Save jottinger/1d878acc2dc4cc217c118df24037b999 to your computer and use it in GitHub Desktop.
/*
* 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.1.1/userguide/building_java_projects.html
*/
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use TestNG framework, also requires calling test.useTestNG() below
testImplementation 'org.testng:testng:7.4.0'
// This dependency is used by the application.
implementation 'com.google.guava:guava:30.1-jre'
}
application {
// Define the main class for the application.
mainClass = 't.App'
}
tasks.named('test') {
// Use TestNG for unit tests.
useTestNG()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment