File tree 3 files changed +32
-42
lines changed 3 files changed +32
-42
lines changed Original file line number Diff line number Diff line change
1
+ dependencies {
2
+ api(" org.opentest4j:opentest4j:${ ota4jVersion} " )
3
+ api(project(" :junit-platform-commons" ))
4
+ compileOnly(" org.jetbrains.kotlin:kotlin-stdlib" )
5
+ }
6
+
7
+ jar {
8
+ manifest {
9
+ attributes(
10
+ ' Automatic-Module-Name' : ' org.junit.jupiter.api'
11
+ )
12
+ }
13
+ }
14
+
15
+ configurations {
16
+ apiElements {
17
+ /*
18
+ * Needed to configure kotlin to work correctly with the "java-library" plugin.
19
+ * See:
20
+ * https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_known_issues
21
+ * https://youtrack.jetbrains.com/issue/KT-18497
22
+ */
23
+ outgoing
24
+ .variants
25
+ .getByName(" classes" )
26
+ .artifact(
27
+ " file" : compileKotlin. destinationDir,
28
+ " type" : " java-classes-directory" ,
29
+ " builtBy" : compileKotlin
30
+ )
31
+ }
32
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,8 +21,5 @@ include 'platform-tests'
21
21
// based on the project name
22
22
rootProject. children. each { project ->
23
23
project. buildFileName = " ${ project.name} .gradle"
24
- if (! project. buildFile. isFile()) {
25
- project. buildFileName = " ${ project.name} .gradle.kts"
26
- }
27
24
assert project. buildFile. isFile()
28
25
}
You can’t perform that action at this time.
0 commit comments