apply plugin: 'java'

repositories {
    mavenCentral()
}

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

test {
	useTestNG() {
        suiteXmlBuilder().suite(name: 'testing-testng') {
            test (name : 'testing-testng', annotations : 'JDK', verbose:'1') {
                classes([:]) {
                    'class' (name: 'org.gradle.testng.UserImplTest') {
                        methods([:]) {
                            include(name: 'testOkFirstName')
                        }
                    }
                }
            }
        }
    }
}
