Rename package

This commit is contained in:
redtea committed 2024-07-06 19:49:44 +03:00
1 parent de48207907
commit 5549235e1c
177 files changed
+469 -469

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@ plugins {
}
group = "tech.carcadex"
val globalArtifactId = "kotlinbukkitkit-genref"
val globalName = "kotlinbukkitkit-genref"
val globalArtifactId = "kbk-genref"
val globalName = "kbk-genref"
repositories {
mavenCentral()
@@ -1,4 +1,4 @@
package tech.carcadex.kotlinbukkitkit.genref.plugin
package tech.carcadex.kbk.genref.plugin
import com.google.devtools.ksp.KspExperimental
import com.google.devtools.ksp.getAnnotationsByType
@@ -12,11 +12,11 @@ import com.google.devtools.ksp.symbol.KSVisitorVoid
import com.squareup.kotlinpoet.*
import com.squareup.kotlinpoet.ksp.KotlinPoetKspPreview
import com.squareup.kotlinpoet.ksp.writeTo
import tech.carcadex.kotlinbukkitkit.genref.plugin.annotations.OnDisable
import tech.carcadex.kotlinbukkitkit.genref.plugin.annotations.Plugin
import tech.carcadex.kotlinbukkitkit.architecture.KotlinPlugin
import tech.carcadex.kotlinbukkitkit.genref.plugin.annotations.OnConfigReload
import tech.carcadex.kotlinbukkitkit.genref.plugin.annotations.OnLoad
import tech.carcadex.kbk.genref.plugin.annotations.OnDisable
import tech.carcadex.kbk.genref.plugin.annotations.Plugin
import tech.carcadex.kbk.architecture.KotlinPlugin
import tech.carcadex.kbk.genref.plugin.annotations.OnConfigReload
import tech.carcadex.kbk.genref.plugin.annotations.OnLoad
import java.nio.file.Path
import java.nio.file.Paths
import kotlin.io.path.deleteIfExists
@@ -1,4 +1,4 @@
package tech.carcadex.kotlinbukkitkit.genref.plugin.annotations
package tech.carcadex.kbk.genref.plugin.annotations
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
@@ -1,4 +1,4 @@
package tech.carcadex.kotlinbukkitkit.genref.plugin.annotations
package tech.carcadex.kbk.genref.plugin.annotations
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
@@ -1,4 +1,4 @@
package tech.carcadex.kotlinbukkitkit.genref.plugin.annotations
package tech.carcadex.kbk.genref.plugin.annotations
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
@@ -1,4 +1,4 @@
package tech.carcadex.kotlinbukkitkit.genref.plugin.annotations
package tech.carcadex.kbk.genref.plugin.annotations
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
@@ -1,4 +1,4 @@
package tech.carcadex.kotlinbukkitkit.genref.processor
package tech.carcadex.kbk.genref.processor
import com.google.devtools.ksp.KspExperimental
import com.google.devtools.ksp.isAnnotationPresent
@@ -9,8 +9,8 @@ import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.devtools.ksp.symbol.KSAnnotated
import com.google.devtools.ksp.symbol.KSFunctionDeclaration
import com.google.devtools.ksp.validate
import tech.carcadex.kotlinbukkitkit.genref.plugin.PluginVisitor
import tech.carcadex.kotlinbukkitkit.genref.plugin.annotations.Plugin
import tech.carcadex.kbk.genref.plugin.PluginVisitor
import tech.carcadex.kbk.genref.plugin.annotations.Plugin
class GenRefProcessor(private val codeGenerator: CodeGenerator,
private val logger: KSPLogger) : SymbolProcessor {
@@ -1,4 +1,4 @@
package tech.carcadex.kotlinbukkitkit.genref.processor
package tech.carcadex.kbk.genref.processor
import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
@@ -1 +1 @@
tech.carcadex.kotlinbukkitkit.genref.processor.ProcessorProvider
tech.carcadex.kbk.genref.processor.ProcessorProvider