-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move KSP to an independent Gradle task
Also turn incremental compilation back on. Note that incremental processing is still under construction.
- Loading branch information
Showing
5 changed files
with
57 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
gradle-plugin/src/main/java/com/google/devtools/ksp/gradle/InternalTrampoline.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.google.devtools.ksp.gradle; | ||
|
||
import org.jetbrains.kotlin.gradle.plugin.KotlinCompilation; | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompileTaskData; | ||
|
||
// FIXME: Ask upstream to open these API | ||
public class InternalTrampoline { | ||
public static void KotlinCompileTaskData_register(String taskName, KotlinCompilation<?> kotlinCompilation) { | ||
KotlinCompileTaskData kotlinCompileTaskData = KotlinCompileTaskData.Companion.register(taskName, kotlinCompilation); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters