Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Add sample showing transitive = false
Browse files Browse the repository at this point in the history
Issue: #18
  • Loading branch information
Phillip Webb committed Nov 19, 2013
1 parent 7581d3b commit 313017c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions propdeps-plugin/samples/transitivefalse/build.gradle
@@ -0,0 +1,28 @@
buildscript {
repositories {
maven { url "http://repo.springsource.org/plugins-release" }
mavenLocal()
}
dependencies {
classpath("org.springframework.build.gradle:propdeps-plugin:0.0.5-SNAPSHOT")
}
}

repositories {
mavenCentral()
}

apply plugin: "propdeps"
apply plugin: "java"

configurations.compile.transitive = false
configurations.provided.transitive = false
configurations.optional.transitive = false

dependencies {
provided("org.springframework:spring-core:3.2.5.RELEASE")
optional("org.springframework:spring-context:3.2.5.RELEASE")
}

print(sourceSets.main.compileClasspath.asPath.replaceAll(";", "\n"))

0 comments on commit 313017c

Please sign in to comment.