Skip to content

Commit

Permalink
Merge pull request #569 from usefulness/updates
Browse files Browse the repository at this point in the history
Update Kotlin target to 1.8
  • Loading branch information
mateuszkwiecinski authored Mar 2, 2024
2 parents da85ed2 + 63b97c9 commit aca8bfc
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 22 deletions.
4 changes: 2 additions & 2 deletions easylauncher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ tasks.withType(PluginUnderTestMetadata).configureEach {

tasks.withType(KotlinCompile).configureEach {
compilerOptions {
apiVersion = KotlinVersion.KOTLIN_1_4
languageVersion = KotlinVersion.KOTLIN_1_4
apiVersion = KotlinVersion.KOTLIN_1_8
languageVersion = KotlinVersion.KOTLIN_1_8
}
}
kotlin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import com.project.starter.easylauncher.filter.ChromeLikeFilter
import com.project.starter.easylauncher.filter.ColorRibbonFilter
import com.project.starter.easylauncher.filter.EasyLauncherFilter
import com.project.starter.easylauncher.filter.OverlayFilter
import com.project.starter.easylauncher.plugin.internal.uppercase
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.ListProperty
import org.gradle.api.provider.Property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import com.android.build.api.AndroidPluginVersion
import com.android.build.api.variant.AndroidComponentsExtension
import com.android.build.api.variant.Variant
import com.android.build.gradle.BaseExtension
import com.project.starter.easylauncher.plugin.internal.replaceFirstChar
import com.project.starter.easylauncher.plugin.internal.titleCase
import org.gradle.api.Plugin
import org.gradle.api.Project
import java.io.File
Expand Down Expand Up @@ -119,7 +117,7 @@ class EasyLauncherPlugin : Plugin<Project> {
}
.flatten()

val capitalisedVariantName = variant.name.replaceFirstChar(Char::titleCase)
val capitalisedVariantName = variant.name.replaceFirstChar(Char::titlecase)
val task = project.tasks.register("easylauncher$capitalisedVariantName", EasyLauncherTask::class.java) {
it.manifestFiles.set(manifests)
it.manifestPlaceholders.set(variant.manifestPlaceholders)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.project.starter.easylauncher.plugin

import com.project.starter.easylauncher.filter.Canvas
import com.project.starter.easylauncher.filter.EasyLauncherFilter
import com.project.starter.easylauncher.plugin.internal.lowercase
import com.project.starter.easylauncher.plugin.models.toSize
import groovy.xml.XmlSlurper
import java.awt.image.BufferedImage
Expand Down

This file was deleted.

0 comments on commit aca8bfc

Please sign in to comment.