Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a57494f80 | |||
| 89fd26a437 | |||
| 9b9fc3bbcd | |||
| 649b070048 | |||
| 97887ec7ef | |||
| 11b9751b44 | |||
| fa2ec52ed1 | |||
| 0d2a5e6970 |
@@ -12,7 +12,7 @@ abstract class ApiGeneratorPlugin : Plugin<Project> {
|
||||
companion object {
|
||||
const val API_GENERATOR_CONFIG = "apiGenerator"
|
||||
const val API_GENERATOR_EXT_NAME = "apiGenerator"
|
||||
const val API_GENERATOR_DEFAULT_VERSION = "1.4.0-beta5"
|
||||
const val API_GENERATOR_DEFAULT_VERSION = "1.4.0-beta9"
|
||||
}
|
||||
|
||||
override fun apply(target: Project) {
|
||||
@@ -61,6 +61,8 @@ abstract class ApiGeneratorPlugin : Plugin<Project> {
|
||||
outputLanguage.argName,
|
||||
"--specification-path",
|
||||
pathToApiSchemes,
|
||||
"--android-calendar-library",
|
||||
"JAVA_TIME",
|
||||
"--kotlin-methods-generation-mode".takeIf { outputLanguage.methodOutputType != null },
|
||||
outputLanguage.methodOutputType?.argName,
|
||||
"--output-path",
|
||||
|
||||
@@ -37,6 +37,7 @@ class CpdLinter : Linter {
|
||||
project.extensions.findByType<CpdExtension>()!!.apply {
|
||||
isSkipLexicalErrors = true
|
||||
language = "kotlin"
|
||||
encoding = "UTF-8"
|
||||
minimumTokenCount = 60
|
||||
}
|
||||
project.tasks.withType<Cpd> {
|
||||
|
||||
Reference in New Issue
Block a user