0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-25 20:55:12 +00:00

updated buildscript

This commit is contained in:
X1nto 2021-08-20 11:30:34 +04:00
parent 0e7f2ce59e
commit dac2ec5b70
6 changed files with 11 additions and 37 deletions

View file

@ -1,9 +1,3 @@
import Dependencies.accompanistVersion
import Dependencies.composeVersion
import Dependencies.koinVersion
import Dependencies.orchestraVersion
import Dependencies.retrofitVersion
plugins {
id("com.android.application")
kotlin("android")
@ -54,7 +48,7 @@ android {
}
composeOptions {
kotlinCompilerExtensionVersion = composeVersion
kotlinCompilerExtensionVersion = "1.0.1"
}
}
@ -86,10 +80,11 @@ dependencies {
implementation(kotlin("reflect"))
implementation("androidx.core:core-ktx:1.6.0")
implementation("androidx.appcompat:appcompat:1.3.0")
implementation("androidx.appcompat:appcompat:1.3.1")
implementation("com.google.android.material:material:1.4.0")
implementation("androidx.browser:browser:1.3.0")
val composeVersion = "1.0.1"
implementation("androidx.compose.compiler:compiler:$composeVersion")
implementation("androidx.compose.foundation:foundation:$composeVersion")
implementation("androidx.compose.material:material-icons-core:$composeVersion")
@ -103,21 +98,24 @@ dependencies {
implementation("androidx.preference:preference-ktx:1.1.1")
implementation("androidx.activity:activity-compose:1.3.0-rc02")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.4.0-alpha02")
implementation("androidx.activity:activity-compose:1.3.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.4.0-alpha03")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07")
val accompanistVersion = "0.14.0"
implementation("com.google.accompanist:accompanist-swiperefresh:$accompanistVersion")
implementation("com.google.accompanist:accompanist-systemuicontroller:$accompanistVersion")
implementation("com.google.accompanist:accompanist-placeholder-material:$accompanistVersion")
implementation("io.coil-kt:coil-compose:1.3.0")
implementation("com.github.skydoves:orchestra-colorpicker:$orchestraVersion")
implementation("com.github.skydoves:orchestra-colorpicker:1.0.7")
val koinVersion = "3.1.2"
implementation("io.insert-koin:koin-android:$koinVersion")
implementation("io.insert-koin:koin-androidx-compose:$koinVersion")
val retrofitVersion = "2.9.0"
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
implementation("com.squareup.retrofit2:converter-gson:$retrofitVersion")

View file

@ -5,8 +5,8 @@ buildscript {
}
dependencies {
classpath("com.android.tools.build:gradle:7.0.0-rc01")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Config.kotlinVersion}")
classpath("com.android.tools.build:gradle:7.0.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10")
}
}

1
buildSrc/.gitignore vendored
View file

@ -1 +0,0 @@
build/

View file

@ -1,9 +0,0 @@
plugins {
`kotlin-dsl`
}
repositories {
google()
jcenter()
maven(url = "https://jitpack.io")
}

View file

@ -1,5 +0,0 @@
object Config {
const val kotlinVersion = "1.5.10"
}

View file

@ -1,9 +0,0 @@
object Dependencies {
const val accompanistVersion = "0.14.0"
const val composeVersion = "1.0.0-rc02"
const val koinVersion = "3.1.2"
const val retrofitVersion = "2.9.0"
const val orchestraVersion = "1.0.7"
}