Export maven dependencies from a gradle project to the file system
plugins {
id "com.lazan.dependency-export" version "0.5"
}
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.lazan:gradle-dependency-export:0.5"
}
}
apply plugin: "com.lazan.dependency-export"
Name | Type | Default Value |
---|---|---|
configurations | Collection<Configuration> | buildscript.configurations + project.configurations |
exportDir | File | ${buildDir}/maven-dependency-export |
systemProperties | Map<String, Object> | System.getProperties() |
exportSources | boolean | false |
exportJavadoc | boolean | false |
plugins {
id "com.lazan.dependency-export" version "0.4"
}
configurations {
foo
}
dependencies {
foo 'x:y:1.0'
}
mavenDependencyExport {
systemProperties = ['java.version': '1.8']
configuration 'foo'
configuration buildscript.configurations.classpath
exportSources = true
}