File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
gradle-plugin/plugin/src/main/java/com/yelp/codegen/plugin Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,6 @@ import org.gradle.api.tasks.OutputDirectory
15
15
import org.gradle.api.tasks.TaskAction
16
16
import org.gradle.api.tasks.options.Option
17
17
18
- const val DEFAULT_PLATFORM = " kotlin"
19
- const val DEFAULT_VERSION = " 0.0.0"
20
- const val DEFAULT_NAME = " defaultname"
21
- const val DEFAULT_PACKAGE = " com.codegen.default"
22
- const val DEFAULT_OUTPUT_DIR = " /gen"
23
-
24
18
abstract class GenerateTask : DefaultTask () {
25
19
26
20
init {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ abstract class GenerateTaskConfiguration @Inject constructor(project: Project) {
17
17
val specVersion = objects.property(String ::class .java).convention(project.provider {
18
18
readVersionFromSpecfile(inputFile.get().asFile)
19
19
})
20
- val outputDir = objects.directoryProperty().convention(project.layout.buildDirectory.dir(DEFAULT_OUTPUT_DIR ).get())
20
+ val outputDir = objects.directoryProperty().convention(project.layout.buildDirectory.dir(" gen " ).get())
21
21
22
22
val extraFiles = objects.directoryProperty()
23
23
val features: FeatureConfiguration = FeatureConfiguration (objects)
You can’t perform that action at this time.
0 commit comments