feature MIR-6740: [Android] Добавление поддержки Android 14 #12

Open
bogdan.terehov wants to merge 1 commits from feature/MIR-6740 into mir-dev
4 changed files with 4 additions and 4 deletions
Showing only changes of commit 0a1180d114 - Show all commits

View File

@ -27,7 +27,7 @@ dependencies {
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}
gradlePlugin {

View File

@ -52,7 +52,7 @@ abstract class ApiGeneratorPlugin : Plugin<Project> {
val outputLanguage = extension.outputLanguage ?: throw IllegalStateException("Configure output language code for api generator plugin")
javaexec {
main = "-jar"
setMain("-jar")
workingDir = rootDir
args = listOfNotNull(
configurations.getByName("apiGenerator").asPath,

View File

@ -63,7 +63,7 @@ class SwaggerApiGeneratorAndroidPlugin : Plugin<Project> {
workingDir = file(taskWorkingDir)
classpath = files(configurations.getByName(GENERATOR_CONFIG).asPath,
configurations.getByName(TI_GENERATOR_CONFIG).asPath)
main = "io.swagger.codegen.v3.cli.SwaggerCodegen"
setMain("io.swagger.codegen.v3.cli.SwaggerCodegen")
args = listOfNotNull(
"generate",
"-i",

View File

@ -42,7 +42,7 @@ class CpdLinter : Linter {
}
tasks.withType<Cpd> {
reports.xml.required.set(true)
reports.xml.destination = getCpdReportFile()
reports.xml.setDestination(getCpdReportFile())
ignoreFailures = true
source = getSources(extension.excludes)
}