build.gradle 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. dependencies {
  35. compile files('jars/json-simple-1.1.1.jar')
  36. }
  37. /*
  38. // In this section you declare where to find the dependencies of your project
  39. repositories {
  40. // Use 'jcenter' for resolving your dependencies.
  41. // You can declare any Maven/Ivy/file repository here.
  42. jcenter()
  43. }
  44. // In this section you declare the dependencies for your production and test code
  45. dependencies {
  46. // The production code uses the SLF4J logging API at compile time
  47. compile 'org.slf4j:slf4j-api:1.7.7'
  48. // Declare the dependency for your favourite test framework you want to use in your tests.
  49. // TestNG is also supported by the Gradle Test task. Just change the
  50. // testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
  51. // 'test.useTestNG()' to your build script.
  52. testCompile "junit:junit:4.11"
  53. }
  54. */