Configure Gradle

0

I have added dependencies to the gradle, and I know in new versions the compile was changed to the implementation , but the provided I do not know if it has changed.

If you have not changed this would be a correct% gradle ?

apply plugin: 'java-library'

repositories {
    jcenter()
}

dependencies {
api 'org.apache.commons:commons-math3:3.6.1'
implementation 'com.google.guava:guava:23.0'
implementation group: 'info.cukes', name: 'cucumber-core', version: '1.2.5'
implementation group: 'info.cukes', name: 'cucumber-java', version: '1.2.5'
provided group: 'info.cukes', name: 'cucumber-jvm-deps', version: '1.0.5'
implementation group: 'net.masterthought', name: 'cucumber-reporting', version: '4.2.2'
provided group: 'info.cukes', name: 'gherkin', version: '2.12.2'

testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.3.1'
testImplementation group: 'info.cukes', name: 'cucumber-junit', version: '1.2.5'
testImplementation group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
testImplementation group: 'net.sourceforge.cobertura', name: 'cobertura', version: '2.1.1'

}

    
asked by Juan 16.11.2018 в 12:59
source

0 answers