java-tutorials/gradle/build.gradle

26 lines
493 B
Groovy
Raw Normal View History

2017-01-11 15:40:04 -05:00
apply plugin: 'java'
apply plugin: 'maven'
repositories{
mavenCentral()
}
dependencies{
compile 'org.springframework:spring-context:4.3.5.RELEASE'
}
task hello {
println "this Baeldung's tutorial is ${awesomeness}"
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: 'http://yourmavenrepo/repository') {
authentication(userName: 'user', password: 'password');
}
}
}
}