• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1buildscript {
2    repositories {
3        mavenCentral()
4        jcenter()
5        maven {
6            url 'http://oss.sonatype.org/content/repositories/snapshots'
7        }
8    }
9}
10
11plugins {
12    id "com.jfrog.bintray" version "1.2"
13}
14
15version = '1.58'
16
17apply plugin: 'java'
18apply plugin: 'eclipse'
19apply plugin: 'idea'
20apply from: 'gradle/publishing.gradle'
21
22repositories {
23    jcenter()
24}
25
26dependencies {
27    testCompile 'org.testng:testng:6.9.13'
28}
29
30task sourceJar(type: Jar) {
31    group 'Build'
32    description 'An archive of the source code'
33    classifier 'sources'
34    from sourceSets.main.allSource
35}
36
37artifacts {
38    sourceJar
39}
40
41test {
42    // enable TestNG support (default is JUnit)
43    useTestNG()
44}
45