Permalink
a89e8e5 Jan 26, 2017
65 lines (56 sloc) 1.96 KB
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
url 'http://repo.spring.io/plugins-release'
}
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'org.springframework.build.gradle:propdeps-plugin:0.0.7'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'net.researchgate:gradle-release:2.4.0'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
ext{
gradleScriptDir = "${rootProject.projectDir}/gradle"
easymockVersion = "3.4"
hamcrestVersion = "1.3"
assertjVersion = "2.6.0"
cglibVersion = "2.2.2"
objenesisVersion = "2.4"
javassistVersion = "3.21.0-GA"
junitVersion = "4.12"
junitRulesVersion = "4.8.2"
testngVersion = "6.9.10"
xstreamVersion = "1.4.9"
mockito1Version = "1.10.19"
mockito2Version = "2.4.0"
servletVersion = "2.5"
systemRulesVersion = "1.16.0"
jacocoVersion = "0.7.7.201606060606"
eclipseJdt = "3.3.0-v_771"
}
description = 'PowerMock allows you to unit test code normally regarded as untestable.\n' +
' For instance it is possible to mock static methods, remove static initializers, allow mocking without dependency\n' +
' injection and more.\n' +
' PowerMock works by bytecode manipulation.\n' +
' PowerMock also contain some utilities that gives you easier access to an objects internal state.\n' +
' PowerMock can be used to test otherwise untestable code and also to achieve a cleaner separation between test\n' +
' and production code.'
apply from: "${gradleScriptDir}/version.gradle"
allprojects{
apply plugin: 'propdeps-idea'
}
apply from: "${gradleScriptDir}/modules.gradle"
apply from: "${gradleScriptDir}/release/release.gradle"
jar{
enabled = false
}
task wrapper(type: Wrapper) {
gradleVersion = '3.2.1'
}