build.gradle 617 B

123456789101112131415161718192021222324252627282930
  1. plugins {
  2. id 'java'
  3. }
  4. group 'com.anas.javautils.jls'
  5. version '0.2.1'
  6. repositories {
  7. mavenCentral()
  8. }
  9. dependencies {
  10. implementation 'com.googlecode.lanterna:lanterna:3.1.1'
  11. implementation 'commons-cli:commons-cli:1.5.0'
  12. testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
  13. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
  14. }
  15. test {
  16. useJUnitPlatform()
  17. }
  18. jar {
  19. manifest {
  20. attributes(
  21. // 'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
  22. 'Main-Class': 'com.anas.javautils.jls.Main'
  23. )
  24. }
  25. }