Sha256: 4353de2414e2aecd43c62fedcc0e0f24bfb58371e5311d78f3bbf89207e2ef15
Contents?: true
Size: 645 Bytes
Versions: 34
Compression:
Stored size: 645 Bytes
Contents
# this file is maven DSL ( 0..10000 ).each do |i| coord = ENV_JAVA[ "jars.#{i}" ] break unless coord artifact = Maven::Tools::Artifact.from_coordinate( coord ) exclusions = [] ( 0..10000 ).each do |j| exclusion = ENV_JAVA[ "jars.#{i}.exclusions.#{j}" ] break unless exclusion exclusions << exclusion end scope = ENV_JAVA[ "jars.#{i}.scope" ] artifact.scope = scope if scope classifier = ENV_JAVA[ "jars.#{i}.classifier" ] artifact.classifier = classifier if classifier # declare the artifact inside the POM dependency_artifact( artifact ) do exclusions.each do |ex| exclusion ex end end end
Version data entries
34 entries across 33 versions & 10 rubygems