gradle project for item001 added
This commit is contained in:
34
effectivejava/item001/build.gradle.kts
Normal file
34
effectivejava/item001/build.gradle.kts
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* This file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* This generated file contains a sample Java project to get you started.
|
||||
* For more details take a look at the Java Quickstart chapter in the Gradle
|
||||
* User Manual available at https://docs.gradle.org/5.4/userguide/tutorial_java_projects.html
|
||||
*/
|
||||
|
||||
plugins {
|
||||
// Apply the java plugin to add support for Java
|
||||
java
|
||||
|
||||
// Apply the application plugin to add support for building an application
|
||||
application
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Use jcenter for resolving your dependencies.
|
||||
// You can declare any Maven/Ivy/file repository here.
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// This dependency is found on compile classpath of this component and consumers.
|
||||
implementation("com.google.guava:guava:27.0.1-jre")
|
||||
|
||||
// Use JUnit test framework
|
||||
testImplementation("junit:junit:4.12")
|
||||
}
|
||||
|
||||
application {
|
||||
// Define the main class for the application
|
||||
mainClassName = "item001.App"
|
||||
}
|
||||
Reference in New Issue
Block a user