Open1

Geb+Spock用テンプレートの補修など

log5log5

jcenter が使えなくなるらしいし、長いこと放置していた build.gradle をそろそろお手入れしたい。

plugins {
    id 'groovy'
    id 'java'
}

group 'autotest'
version '1.0-SNAPSHOT'

sourceCompatibility = 1.8

ext {
    groovyVersion = '2.5.3'
    gebVersion = '2.2'
    spockVersion = '1.2-groovy-2.5'
    junitVersion = '4.12'
    gebJunitVersion = '2.2'
    gebSpockReportsVersion = '0.1.5'

    seleniumVersion = '3.14.0'
}

repositories {
    mavenCentral()
    jcenter()
}

dependencies {
    implementation "org.codehaus.groovy:groovy-all:$groovyVersion"
    testImplementation "junit:junit:$junitVersion"

    testImplementation "org.gebish:geb-spock:$gebVersion"
    testImplementation("org.spockframework:spock-core:$spockVersion") {
        exclude group: "org.codehaus.groovy"
    }
    testImplementation ("org.seleniumhq.selenium:selenium-support:$seleniumVersion"){
        exclude module : 'groovy-all'
    }

    testImplementation "org.gebish:geb-junit4:$gebJunitVersion"

    testImplementation "com.aoe:geb-spock-reports:$gebSpockReportsVersion"

    // Drivers
    testImplementation "org.seleniumhq.selenium:selenium-chrome-driver:$seleniumVersion"
    testImplementation "org.seleniumhq.selenium:selenium-firefox-driver:$seleniumVersion"
//    testImplementation "org.seleniumhq.selenium:selenium-ie-driver:$seleniumVersion"
//    testImplementation "org.seleniumhq.selenium:selenium-safari-driver:$seleniumVersion"
//    testImplementation "org.seleniumhq.selenium:selenium-edge-driver:$seleniumVersion"

    implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.8'

}