build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. * This build file was auto generated by running the Gradle 'init' task
  3. * by 'jessey' at '04.07.16 13:33' with Gradle 2.2.1
  4. *
  5. * This generated file contains a commented-out sample Java project to get you started.
  6. * For more details take a look at the Java Quickstart chapter in the Gradle
  7. * user guide available at http://gradle.org/docs/2.2.1/userguide/tutorial_java_projects.html
  8. */
  9. // Apply the java plugin to add support for Java
  10. apply plugin: 'java'
  11. jar {
  12. manifest {
  13. attributes 'Main-Class': 'ui.view.Main'
  14. }
  15. }
  16. sourceSets {
  17. test{
  18. java{
  19. srcDir 'src/tests'
  20. }
  21. resources{
  22. srcDir 'res'
  23. }
  24. }
  25. main {
  26. java {
  27. srcDir 'src'
  28. }
  29. resources {
  30. srcDir 'res'
  31. }
  32. }
  33. }
  34. repositories {
  35. flatDir {
  36. dirs 'jars'
  37. }
  38. }
  39. dependencies {
  40. compile name: 'json-simple-1.1.1'
  41. }
  42. /*
  43. // In this section you declare where to find the dependencies of your project
  44. repositories {
  45. // Use 'jcenter' for resolving your dependencies.
  46. // You can declare any Maven/Ivy/file repository here.
  47. jcenter()
  48. }
  49. // In this section you declare the dependencies for your production and test code
  50. dependencies {
  51. // The production code uses the SLF4J logging API at compile time
  52. compile 'org.slf4j:slf4j-api:1.7.7'
  53. // Declare the dependency for your favourite test framework you want to use in your tests.
  54. // TestNG is also supported by the Gradle Test task. Just change the
  55. // testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
  56. // 'test.useTestNG()' to your build script.
  57. testCompile "junit:junit:4.11"
  58. }
  59. */