summaryrefslogtreecommitdiffstats
path: root/build.gradle
blob: 484d594934e4cd46d2e685ef0b5a0f45fa36802d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
buildscript {
    repositories {
        mavenCentral()
        jcenter()
        maven {
            url 'http://oss.sonatype.org/content/repositories/snapshots'
        }
    }
}

plugins {
    id "com.jfrog.bintray" version "1.2"
}

version = '1.58'

apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply from: 'gradle/publishing.gradle'

repositories {
    jcenter()
}

dependencies {
    testCompile 'org.testng:testng:6.9.13'
}

task sourceJar(type: Jar) {
    group 'Build'
    description 'An archive of the source code'
    classifier 'sources'
    from sourceSets.main.allSource
}

artifacts {
    sourceJar
}

test {
    // enable TestNG support (default is JUnit)
    useTestNG()
}