mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-17 23:55:21 +01:00
migrating project level build.gradle
This commit is contained in:
parent
3e165b5867
commit
b1040f05f2
3 changed files with 35 additions and 14 deletions
|
@ -100,7 +100,7 @@ static def getProperty(Properties properties, String name) {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':appthemehelper')
|
implementation project(':appthemehelper')
|
||||||
implementation "androidx.gridlayout:gridlayout:1.0.0"
|
implementation(libs.gridLayout)
|
||||||
|
|
||||||
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
||||||
implementation 'androidx.annotation:annotation:1.6.0'
|
implementation 'androidx.annotation:annotation:1.6.0'
|
||||||
|
|
18
build.gradle
18
build.gradle
|
@ -1,28 +1,20 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
|
||||||
lifecycle_version = '2.6.1'
|
|
||||||
navigation_version = '2.5.3'
|
|
||||||
mdc_version = '1.9.0-beta01'
|
|
||||||
preference_version = '1.2.0'
|
|
||||||
appcompat_version = '1.6.1'
|
|
||||||
core_version = '1.10.0-rc01'
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
google()
|
google()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.4.2'
|
classpath libs.gradle
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10"
|
classpath libs.kotlin.gradle.plugin
|
||||||
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
|
classpath libs.androidx.navigation.safeargs.plugin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
plugins {
|
plugins {
|
||||||
id "com.github.ben-manes.versions" version "0.46.0"
|
alias libs.plugins.github.ben.manes
|
||||||
id 'com.google.devtools.ksp' version '1.8.10-1.0.9' apply false
|
alias libs.plugins.google.devtools.ksp apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register('clean', Delete) {
|
tasks.register('clean', Delete) {
|
||||||
|
|
29
gradle/libs.versions.toml
Normal file
29
gradle/libs.versions.toml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
[versions]
|
||||||
|
#buildscripts dependencies
|
||||||
|
gradle = "7.4.2"
|
||||||
|
kotlinGradlePlugin = "1.8.10"
|
||||||
|
|
||||||
|
lifecycle_version = "2.6.1"
|
||||||
|
navigation_version = "2.5.3"
|
||||||
|
mdc_version = "1.9.0-beta01"
|
||||||
|
preference_version = "1.2.0"
|
||||||
|
appcompat_version = "1.6.1"
|
||||||
|
core_version = "1.10.0-rc01"
|
||||||
|
|
||||||
|
#plugins
|
||||||
|
devTools_ksp_version = "1.8.10-1.0.9"
|
||||||
|
ben_manes_versoin = "0.46.0"
|
||||||
|
|
||||||
|
|
||||||
|
[libraries]
|
||||||
|
#dependencies
|
||||||
|
gridLayout = {group = "androidx.gridlayout", name = "gridlayout", version="1.0.0"}
|
||||||
|
|
||||||
|
#buildscripts dependencies
|
||||||
|
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
|
||||||
|
androidx-navigation-safeargs-plugin = { module = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "navigation_version" }
|
||||||
|
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinGradlePlugin" }
|
||||||
|
|
||||||
|
[plugins]
|
||||||
|
github-ben-manes = { id = "com.github.ben-manes.versions", version.ref = "ben_manes_versoin" }
|
||||||
|
google-devtools-ksp = { id = "com.google.devtools.ksp", version.ref = "devTools_ksp_version" }
|
Loading…
Add table
Add a link
Reference in a new issue