build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * This file was generated by the Gradle 'init' task.
  3. *
  4. * This generated file contains a sample Java project to get you started.
  5. * For more details take a look at the Java Quickstart chapter in the Gradle
  6. * user guide available at https://docs.gradle.org/4.7/userguide/tutorial_java_projects.html
  7. */
  8. plugins {
  9. // Apply the java plugin to add support for Java
  10. id 'java'
  11. // Apply the application plugin to add support for building an application
  12. id 'application'
  13. // apply the plugin for IDEA cause restricting us to an IDE arbitrarily is great. not like we couldn't just submit JAR files
  14. id 'idea'
  15. }
  16. // Define the main class for the application
  17. mainClassName = 'App'
  18. dependencies {
  19. // This dependency is found on compile classpath of this component and consumers.
  20. compile 'com.google.guava:guava:23.0'
  21. // Use JUnit test framework
  22. testCompile 'junit:junit:4.12'
  23. }
  24. // In this section you declare where to find the dependencies of your project
  25. repositories {
  26. // Use jcenter for resolving your dependencies.
  27. // You can declare any Maven/Ivy/file repository here.
  28. jcenter()
  29. }