-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to Anvil-KSP fork, rewrite generators using KSP (#63)
Switch to Anvil-ksp
- Loading branch information
1 parent
833b7dc
commit 0ec8723
Showing
121 changed files
with
1,441 additions
and
1,217 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,4 @@ lint/outputs/ | |
lint/tmp/ | ||
|
||
.android/ | ||
.kotlin/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
public final class ru/pixnews/anvil/codegen/activity/generator/ContributesActivityCodeGenerator : com/squareup/anvil/compiler/api/CodeGenerator { | ||
public final class ru/pixnews/anvil/ksp/codegen/activity/generator/ContributesActivityAnvilKspExtensionProvider : com/squareup/anvil/compiler/api/AnvilKspExtension$Provider { | ||
public fun <init> ()V | ||
public fun generateCode (Ljava/io/File;Lorg/jetbrains/kotlin/descriptors/ModuleDescriptor;Ljava/util/Collection;)Ljava/util/Collection; | ||
public fun create (Lcom/google/devtools/ksp/processing/SymbolProcessorEnvironment;)Lcom/squareup/anvil/compiler/api/AnvilKspExtension; | ||
public fun isApplicable (Lcom/squareup/anvil/compiler/api/AnvilContext;)Z | ||
} | ||
|
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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
/* | ||
* Copyright (c) 2024, the pixnews-anvil-codegen project authors and contributors. | ||
* Copyright (c) 2024-2025, the pixnews-anvil-codegen project authors and contributors. | ||
* Please see the AUTHORS file for details. | ||
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
plugins { | ||
id("ru.pixnews.anvil.codegen.buildlogic.project.generator") | ||
id("ru.pixnews.anvil.codegen.buildlogic.project.publish") | ||
id("ru.pixnews.anvil.codegen.buildlogic.project.generator.ksp") | ||
id("ru.pixnews.anvil.codegen.buildlogic.project.publish.ksp") | ||
} | ||
|
||
version = anvilCodegenVersions.getSubmoduleVersionProvider( | ||
propertiesFileKey = "anvil_codegen_activity_generator_version", | ||
envVariableName = "ANVIL_CODEGEN_ACTIVITY_GENERATOR_VERSION", | ||
propertiesFileKey = "anvil_ksp_codegen_activity_generator_version", | ||
envVariableName = "ANVIL_KSP_CODEGEN_ACTIVITY_GENERATOR_VERSION", | ||
).get() |
Oops, something went wrong.