Permalink
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (56 sloc) 1.37 KB
buildscript {
repositories {
maven { url 'https://repo.spring.io/plugins-release' }
}
dependencies {
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:2.2.2'
}
}
allprojects {
apply plugin: 'idea'
apply plugin: 'eclipse'
}
subprojects {
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'artifactory'
group = 'org.springframework.build.gradle'
repositories {
maven { url 'https://repo.spring.io/libs-release' }
}
dependencies {
compile gradleApi()
compile localGroovy()
}
}
project(':bundlor-plugin') {
version = bundlorPluginVersion
// dependencies are configured within BundlorPlugin
}
ext.repoUser = project.properties['REPO_USERNAME']
ext.repoPass = project.properties['REPO_PASSWORD']
artifactory {
contextUrl = 'https://repo.spring.io'
publish {
repository {
repoKey = 'plugins-snapshot-local'
username = repoUser
password = repoPass
}
defaults {
publishConfigs('archives')
}
}
resolve {
repository {
repoKey = 'libs-releases'
username = repoUser
password = repoPass
maven = true
}
}
}
task wrapper(type: Wrapper) {
description = 'Generates gradlew[.bat] scripts'
gradleVersion = '1.11'
}