Skip to content

Commit 2b414f1

Browse files
committed
Combine attributes in various places for simplicity
1 parent 8bfc62f commit 2b414f1

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ gr8 {
6767
val compileOnlyDependenciesForGr8 = configurations.create("compileOnlyDependenciesForGr8") {
6868
attributes {
6969
attribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE, FilterTransform.artifactType)
70-
}
71-
attributes {
7270
attribute(Usage.USAGE_ATTRIBUTE, project.objects.named<Usage>(Usage.JAVA_API))
7371
}
7472
}

gr8-plugin/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ plugins {
1212
val filteredClasspathDependencies: Configuration = configurations.create("filteredClasspathDependencies") {
1313
attributes {
1414
attribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE, FilterTransform.artifactType)
15-
}
16-
attributes {
1715
attribute(Usage.USAGE_ATTRIBUTE, project.objects.named<Usage>(Usage.JAVA_API))
1816
}
1917
}

test-plugin/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ dependencies {
2121
val compileOnlyDependenciesForGr8: Configuration = configurations.create("compileOnlyDependenciesForGr8") {
2222
attributes {
2323
attribute(ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE, FilterTransform.artifactType)
24-
}
25-
attributes {
2624
attribute(Usage.USAGE_ATTRIBUTE, project.objects.named<Usage>(Usage.JAVA_API))
2725
}
2826
}

0 commit comments

Comments
 (0)