Files
Friendlists/app/build.gradle
Carlos Martinez d6241ca6eb Migrate dependencies to TOML catalog
Migrate dependencies to TOML catalog.

* Add `gradle/libs.versions.toml` file to define all dependencies, plugins, and build versions.
* Modify `build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `classpath` dependencies.
* Modify `core.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block.
* Modify `app/build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block.
* Modify `base/build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block.
* Modify `albumlist/build.gradle` to apply the `libs.versions.toml` file for dependency management.
* Modify `photolist/build.gradle` to apply the `libs.versions.toml` file for dependency management.
* Modify `testing/build.gradle` to apply the `libs.versions.toml` file for dependency management and update the `dependencies` block.
* Delete `versions.gradle` and `base/versions.gradle` files.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/imcarlost/Friendlists?shareId=XXXX-XXXX-XXXX-XXXX).
2024-10-01 14:07:34 -03:00

61 lines
1.6 KiB
Groovy

plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-android-extensions'
id 'kotlin-kapt'
}
android {
compileSdkVersion libs.versions.target_sdk.get().toInteger()
buildToolsVersion libs.versions.build_tools.get()
defaultConfig {
applicationId "com.hako.friendlists"
minSdkVersion libs.versions.min_sdk.get().toInteger()
targetSdkVersion libs.versions.target_sdk.get().toInteger()
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildConfigField "String", "BASE_ENDPOINT", '"https://jsonplaceholder.typicode.com/"'
}
buildTypes {
debug {
applicationIdSuffix '.debug'
debuggable true
signingConfig signingConfigs.debug
}
release {
debuggable false
minifyEnabled true
signingConfig signingConfigs.debug
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
testOptions {
unitTests.returnDefaultValues = true
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation project(":base")
implementation project(":userlist")
implementation project(":albumlist")
implementation project(":photolist")
}