Skip to content

Commit 9f99cd6

Browse files
committed
fix: allow to consume composed jar intellij-common 1.9.7-SNAPSHOT
Signed-off-by: Alexander Bartash <@AlexanderBartash>
1 parent af7e03e commit 9f99cd6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ dependencies {
7070
"org.junit.platform:junit-platform-launcher:1.9.3",
7171
"com.google.code.gson:gson:2.8.9"
7272
)
73+
74+
components {
75+
withModule("com.redhat.devtools.intellij:intellij-common") {
76+
withVariant("intellijPlatformComposedJar") {
77+
attributes {
78+
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, LibraryElements.JAR))
79+
}
80+
}
81+
}
82+
}
7383
}
7484

7585
java {

0 commit comments

Comments
 (0)