plugins {
    `java-library`
}

repositories {
    mavenCentral()
}

// tag::transitive-per-configuration[]
configurations.configureEach {
    isTransitive = false
}

// tag::dependency-config[]
dependencies {
    implementation("com.google.guava:guava:23.0")
}
// end::dependency-config[]
// end::transitive-per-configuration[]

tasks.register<Copy>("copyLibs") {
    from(configurations.compileClasspath)
    into(layout.buildDirectory.dir("libs"))
}
