Skip to content

Commit

Permalink
Enable plugin explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
timaliberdov committed Jul 5, 2023
1 parent d6c02d8 commit 30b4505
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/kotlin/KotlinPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import sbt.{Def, Keys as _, *}
* @author pfnguyen
*/
object KotlinPlugin extends AutoPlugin {
override def trigger = allRequirements
override def trigger = noTrigger

override def requires: Plugins = JvmPlugin

Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/basic-tests/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import sbt.complete.Parsers.spaceDelimited

import scala.xml.{NodeSeq, XML}

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

libraryDependencies ++= Seq(
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/basic/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import kotlin.Keys._

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

val listClasses = taskKey[Unit]("listClasses")
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/kotlin-1.2-compat/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import kotlin.Keys._

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

kotlinVersion := "1.2.71"
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/kotlin-1.3-compat/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import kotlin.Keys._

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

kotlinVersion := "1.3.41"
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/kotlin-1.8-compat/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import kotlin.Keys._

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

kotlinVersion := "1.8.22"
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/kotlin-script/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import kotlin.Keys._

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

kotlinVersion := "1.3.21"
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/mixed-tests/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import sbt.complete.Parsers.spaceDelimited

import scala.xml.{NodeSeq, XML}

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

libraryDependencies ++= Seq(
Expand Down
1 change: 1 addition & 0 deletions src/sbt-test/kotlin/mixed/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import kotlin.Keys._

enablePlugins(KotlinPlugin)
kotlinLib("stdlib")

kotlincOptions += "-verbose"

0 comments on commit 30b4505

Please sign in to comment.