small fixes

This commit is contained in:
AnastasiyaK97 2022-09-14 19:38:43 +03:00 committed by Anastasiya97
parent f389e6d806
commit 3dfdb3de1e
1 changed files with 3 additions and 2 deletions

View File

@ -10,19 +10,20 @@ import org.gradle.kotlin.dsl.repositories
class SwaggerApiGeneratorAndroidPlugin : Plugin<Project> {
companion object {
private companion object {
const val GENERATOR_CONFIG = "swaggerCodegen"
const val GENERATOR_VERSION = "3.0.34"
const val TI_GENERATOR_CONFIG = "TIKotlin-swagger-codegen"
const val TI_GENERATOR_VERSION = "1.0.0"
const val GENERATOR_EXT_NAME = "swaggerApiGenerator"
const val MAVEN_URL = "https://maven.dev.touchin.ru"
}
override fun apply(target: Project) {
with(target) {
repositories {
maven {
url = uri("https://maven.dev.touchin.ru")
url = uri(MAVEN_URL)
metadataSources {
artifact()
}