File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
plugin/src/main/java/app/cash/paraphrase/plugin Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import com.android.build.gradle.BaseExtension
22
22
import org.gradle.api.Plugin
23
23
import org.gradle.api.Project
24
24
import org.gradle.api.provider.Provider
25
- import org.gradle.configurationcache.extensions.capitalized
26
25
27
26
/* *
28
27
* A Gradle plugin that generates type checked formatters for patterned Android string resources.
@@ -84,7 +83,7 @@ public class ParaphrasePlugin : Plugin<Project> {
84
83
val javaSources = sources.java ? : return
85
84
val resSources = sources.res ? : return
86
85
tasks.register(
87
- " generateFormattedResources${name.capitalized() } " ,
86
+ " generateFormattedResources${name.replaceFirstChar { it.uppercase() } } " ,
88
87
GenerateFormattedResources ::class .java,
89
88
).apply {
90
89
javaSources.addGeneratedSourceDirectory(this , GenerateFormattedResources ::outputDirectory)
You can’t perform that action at this time.
0 commit comments