File tree Expand file tree Collapse file tree
plugin/src/main/kotlin/jp/ntsk/room/schema/docs/plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,14 +58,8 @@ class RoomSchemaDocsPlugin : Plugin<Project> {
5858}
5959
6060open class RoomSchemaDocsExtension {
61- @Deprecated(" Use schemaDirectory() method instead" , ReplaceWith (" schemaDirectory(value)" ))
62- var schemaDir: String = " schemas"
63-
64- @Deprecated(" Use outputDirectory() method instead" , ReplaceWith (" outputDirectory(value)" ))
65- var outputDir: String = " docs"
66-
67- private var schemaDirectoryValue: String? = null
68- private var outputDirectoryValue: String? = null
61+ private var schemaDirectoryValue: String = " schemas"
62+ private var outputDirectoryValue: String = " docs"
6963
7064 fun schemaDirectory (path : String ) {
7165 schemaDirectoryValue = path
@@ -76,10 +70,10 @@ open class RoomSchemaDocsExtension {
7670 }
7771
7872 internal fun resolveSchemaDir (): String {
79- return schemaDirectoryValue ? : schemaDir
73+ return schemaDirectoryValue
8074 }
8175
8276 internal fun resolveOutputDir (): String {
83- return outputDirectoryValue ? : outputDir
77+ return outputDirectoryValue
8478 }
8579}
You can’t perform that action at this time.
0 commit comments