Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. plugins {
  2. java
  3. application
  4. }
  5.  
  6. version = "0.1.0"
  7.  
  8. java {
  9. sourceCompatibility = JavaVersion.VERSION_1_8
  10. targetCompatibility = JavaVersion.VERSION_1_8
  11. }
  12.  
  13. application {
  14. mainClassName = "net.pdutta.jver.Main"
  15. }
  16.  
  17. dependencies {
  18. testImplementation("org.junit.jupiter:junit-jupiter-api:5.5.1")
  19. testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.5.1")
  20. }
  21.  
  22. tasks.jar {
  23. manifest {
  24. attributes(
  25. "Main-Class" to "net.pdutta.jver.Main"
  26. )
  27. }
  28. }
  29.  
  30. tasks.test {
  31. useJUnitPlatform()
  32. }
  33.  
  34. repositories {
  35. mavenCentral()
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement