[FIR-PLUGIN] Add lib with annotations for allopen plugin

This commit is contained in:
Dmitriy Novozhilov
2020-04-29 11:49:26 +03:00
parent 728e0604ac
commit 7e5024fb88
5 changed files with 31 additions and 0 deletions
@@ -0,0 +1,13 @@
plugins {
kotlin("jvm")
id("jps-compatible")
}
sourceSets {
"main" { projectDefault() }
"test" { none() }
}
publish()
runtimeJar()
@@ -0,0 +1,8 @@
/*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.allopen
annotation class AllOpen
@@ -0,0 +1,8 @@
/*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.allopen
annotation class WithClass
@@ -41,6 +41,7 @@ projectTest(parallel = true) {
workingDir = rootDir
jvmArgs!!.removeIf { it.contains("-Xmx") }
maxHeapSize = "3g"
dependsOn(":compiler:fir:plugins:allopen-plugin:allopen-annotations:jar")
}
testsJar()
+1
View File
@@ -97,6 +97,7 @@ include ":kotlin-build-common",
":compiler:fir:checkers",
":compiler:fir:analysis-tests",
":compiler:fir:plugins:allopen-plugin",
":compiler:fir:plugins:allopen-plugin:allopen-annotations",
":compiler:frontend",
":compiler:frontend.common",
":compiler:frontend.java",