-
Notifications
You must be signed in to change notification settings - Fork 7
Usage
stigkj edited this page Sep 21, 2011
·
15 revisions
The only mandatory code in build.gradle
are:
buildscript {
repositories {
mavenRepo urls: ["http://repo.jfrog.org/artifactory/plugins-snapshots"]
}
dependencies {
classpath "org.gradle.plugins:gradle-m2metadata-plugin:1.0-SNAPSHOT"
}
}
apply plugin: 'maven-metadata'
You must list all your modules in settings.gradle
as usual. Your parent build.gradle
will look like:
buildscript {
repositories {
mavenRepo urls: ["http://repo.jfrog.org/artifactory/plugins-snapshots"]
}
dependencies {
classpath "org.gradle.plugins:gradle-m2metadata-plugin:1.0-SNAPSHOT"
}
}
subprojects {
apply plugin: 'maven-metadata'
}