build.gradle 1.7 KB

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