github.com/SupersunnySea/draft@v0.16.0/examples/example-gradle/build.gradle (about)

     1  apply plugin: 'java'
     2  apply plugin: 'application'
     3  
     4  group = 'helloworld'
     5  version = '1.0'
     6  mainClassName = 'helloworld.Hello'
     7  
     8  description = """"""
     9  
    10  sourceCompatibility = 1.8
    11  targetCompatibility = 1.8
    12  
    13  repositories {        
    14       mavenCentral()
    15  }
    16  dependencies {
    17      compile 'com.sparkjava:spark-core:2.0.0'
    18  }
    19  
    20  jar {
    21      manifest {
    22          attributes 'Main-Class': mainClassName
    23      }
    24  }