Skip to content

Commit

Permalink
Plugin improvements, K2 flat requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Feb 17, 2025
1 parent 4c9f107 commit ffccb0e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ buildscript {
}
dependencies {
classpath("com.lightningkite:lk-gradle-helpers:1.0.8")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0")
classpath("org.jetbrains.kotlin:kotlin-serialization:2.1.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0")
classpath("org.jetbrains.kotlin:kotlin-serialization:2.0.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:2.0.0")
classpath("com.android.tools.build:gradle:8.5.2")
}
Expand Down
1 change: 0 additions & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.1.0")
}
kotlin {
jvmToolchain(17)
Expand Down
1 change: 0 additions & 1 deletion kotlin-test-manual-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin-api:2.1.0")
testImplementation(project(":kotlin-test-manual-runtime"))
testImplementation("junit:junit:4.13.2")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.lightningkite.testing.manual

import org.gradle.api.Plugin
import org.gradle.api.Project
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
import java.io.File
import java.io.FileInputStream
import java.io.InputStream
Expand All @@ -18,7 +17,7 @@ class KotlinTestManualPlugin : Plugin<Project> {
tasks.create("testUpdateHashes") {
group = "verification"
val t = this
tasks.matching { it is KotlinCompilationTask<*> && it.name.contains("test", true) }.configureEach {
tasks.matching { it.name.contains("test", true) && it.name.contains("compile", true) && it.name.contains("kotlin", true) }.configureEach {
this.dependsOn(t)
}
doLast {
Expand Down

0 comments on commit ffccb0e

Please sign in to comment.