Skip to content

Commit aa7610e

Browse files
TapchicomaAbduqodiri Qurbonzoda
authored andcommitted
Fix compatibility with KGP 1.7.0
1 parent 520468e commit aa7610e

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

plugin/build.gradle

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,21 @@ dependencies {
9696
*/
9797
}
9898

99-
// comfiguration of classpathes for plugin integration tests
99+
// configuration of classpath for plugin integration tests
100100

101101
configurations {
102-
testPluginClasspath
102+
testPluginClasspath {
103+
attributes {
104+
attribute(
105+
Usage.USAGE_ATTRIBUTE,
106+
project.objects.named(Usage.class, Usage.JAVA_RUNTIME)
107+
)
108+
attribute(
109+
Category.CATEGORY_ATTRIBUTE,
110+
project.objects.named(Category.class, Category.LIBRARY)
111+
)
112+
}
113+
}
103114
}
104115

105116
dependencies {

0 commit comments

Comments
 (0)