Skip to content

Commit

Permalink
refactor: update default versions of templates
Browse files Browse the repository at this point in the history
  • Loading branch information
teixeira0x committed Dec 11, 2024
1 parent 18573ef commit 0754698
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AndroidIDE
.androidide/

# Built application files
*.apk
*.aar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ package com.itsaky.androidide.templates
* @author Akash Yadav
*/

const val ANDROID_GRADLE_PLUGIN_VERSION = "8.0.0"
const val GRADLE_DISTRIBUTION_VERSION = "8.1.1"
const val KOTLIN_VERSION = "1.8.21"
const val ANDROID_GRADLE_PLUGIN_VERSION = "8.6.0"
const val GRADLE_DISTRIBUTION_VERSION = "8.8"
const val KOTLIN_VERSION = "1.9.22"

val TARGET_SDK_VERSION = Sdk.Tiramisu
val COMPILE_SDK_VERSION = Sdk.Tiramisu
val TARGET_SDK_VERSION = Sdk.UpsideDownCake
val COMPILE_SDK_VERSION = Sdk.UpsideDownCake

const val JAVA_SOURCE_VERSION = "11"
const val JAVA_TARGET_VERSION = "11"
const val JAVA_SOURCE_VERSION = "17"
const val JAVA_TARGET_VERSION = "17"
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ inline fun <T : Enum<*>> enumParameter(crossinline block: EnumParameterBuilder<T
inline fun projectNameParameter(crossinline configure: StringParameterBuilder.() -> Unit = {}) =
stringParameter {
name = string.project_app_name
default = "My Application"
default = "MyApplication"
startIcon = { R.drawable.ic_android }
constraints = listOf(NONEMPTY)

Expand Down Expand Up @@ -398,7 +398,7 @@ inline fun projectLanguageParameter(
inline fun minSdkParameter(crossinline configure: EnumParameterBuilder<Sdk>.() -> Unit = {}) =
enumParameter<Sdk> {
name = string.minimum_sdk
default = Sdk.Lollipop
default = Sdk.Naughat
displayName = Sdk::displayName
startIcon = { R.drawable.ic_min_sdk }

Expand Down

0 comments on commit 0754698

Please sign in to comment.