kopia lustrzana https://github.com/rt-bishop/Look4Sat
Updated dependencies, minor fixes
rodzic
fb296786a5
commit
4fc76ecbd9
|
@ -40,7 +40,7 @@ android {
|
||||||
viewBinding true
|
viewBinding true
|
||||||
}
|
}
|
||||||
composeOptions {
|
composeOptions {
|
||||||
kotlinCompilerExtensionVersion compose_version
|
kotlinCompilerExtensionVersion compose_compiler_version
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_11
|
sourceCompatibility JavaVersion.VERSION_11
|
||||||
|
@ -49,17 +49,16 @@ android {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
||||||
}
|
}
|
||||||
packagingOptions {
|
|
||||||
resources {
|
|
||||||
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
testOptions {
|
testOptions {
|
||||||
animationsDisabled true
|
animationsDisabled true
|
||||||
unitTests.includeAndroidResources true
|
unitTests.includeAndroidResources true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
jvmToolchain(11)
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(":base")
|
implementation project(":base")
|
||||||
implementation "androidx.core:core-ktx:$core_ktx_version"
|
implementation "androidx.core:core-ktx:$core_ktx_version"
|
||||||
|
@ -71,7 +70,6 @@ dependencies {
|
||||||
implementation "androidx.navigation:navigation-runtime-ktx:$navigation_version"
|
implementation "androidx.navigation:navigation-runtime-ktx:$navigation_version"
|
||||||
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
|
implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version"
|
||||||
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
|
implementation "androidx.navigation:navigation-ui-ktx:$navigation_version"
|
||||||
implementation "androidx.work:work-runtime-ktx:$work_version"
|
|
||||||
implementation "androidx.room:room-runtime:$room_version"
|
implementation "androidx.room:room-runtime:$room_version"
|
||||||
implementation "androidx.room:room-ktx:$room_version"
|
implementation "androidx.room:room-ktx:$room_version"
|
||||||
kapt "androidx.room:room-compiler:$room_version"
|
kapt "androidx.room:room-compiler:$room_version"
|
||||||
|
@ -82,29 +80,33 @@ dependencies {
|
||||||
|
|
||||||
// implementation "androidx.compose.ui:ui:$compose_version"
|
// implementation "androidx.compose.ui:ui:$compose_version"
|
||||||
// implementation "androidx.compose.ui:ui-tooling:$compose_version"
|
// implementation "androidx.compose.ui:ui-tooling:$compose_version"
|
||||||
// implementation "androidx.compose.animation:animation:$compose_version"
|
// implementation "androidx.compose.runtime:runtime:$compose_version"
|
||||||
// implementation "androidx.compose.foundation:foundation:$compose_version"
|
|
||||||
// implementation "androidx.activity:activity-compose:$activity_compose_version"
|
|
||||||
// implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
|
// implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
|
||||||
|
// implementation "androidx.compose.compiler:compiler:$compose_compiler_version"
|
||||||
|
// implementation "androidx.compose.animation:animation:$compose_version"
|
||||||
|
// implementation "androidx.compose.foundation:foundation:$compose_foundation_version"
|
||||||
|
// implementation "androidx.activity:activity-compose:$activity_compose_version"
|
||||||
// implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
|
// implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycle_version"
|
||||||
// implementation "androidx.compose.material:material:$compose_version"
|
// implementation "androidx.compose.material:material:$compose_material_version"
|
||||||
// implementation "androidx.compose.material:material-icons-extended:$compose_version"
|
// implementation "androidx.compose.material:material-icons-extended:$compose_material_version"
|
||||||
// implementation "com.google.android.material:compose-theme-adapter:$material_adapter_version"
|
// implementation "com.google.android.material:compose-theme-adapter:$material_adapter_version"
|
||||||
|
|
||||||
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
// debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
||||||
debugImplementation "androidx.fragment:fragment-testing:$fragment_test_version"
|
debugImplementation "androidx.fragment:fragment-testing:$fragment_test_version"
|
||||||
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakcanary_version"
|
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakcanary_version"
|
||||||
|
|
||||||
testImplementation "junit:junit:$junit_version"
|
testImplementation "junit:junit:$junit_version"
|
||||||
testImplementation "org.mockito:mockito-core:$mockito_version"
|
testImplementation "org.mockito:mockito-core:$mockito_version"
|
||||||
testImplementation "org.robolectric:robolectric:$robolectric_version"
|
testImplementation "org.robolectric:robolectric:$robolectric_version"
|
||||||
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_test_version"
|
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_test_version"
|
||||||
|
|
||||||
androidTestImplementation "androidx.test:core:$androidx_test_version"
|
androidTestImplementation "androidx.test:core:$androidx_test_version"
|
||||||
androidTestImplementation "androidx.test:runner:$androidx_test_version"
|
androidTestImplementation "androidx.test:runner:$androidx_test_version"
|
||||||
androidTestImplementation "androidx.test:rules:$androidx_test_version"
|
androidTestImplementation "androidx.test:rules:$androidx_test_version"
|
||||||
androidTestImplementation "androidx.test.ext:junit:$androidx_junit_version"
|
androidTestImplementation "androidx.test.ext:junit:$androidx_junit_version"
|
||||||
androidTestImplementation "androidx.test.ext:truth:$androidx_test_version"
|
androidTestImplementation "androidx.test.ext:truth:$androidx_test_version"
|
||||||
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_version"
|
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_version"
|
||||||
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
|
// androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
|
||||||
androidTestImplementation "org.mockito:mockito-android:$mockito_version"
|
androidTestImplementation "org.mockito:mockito-android:$mockito_version"
|
||||||
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_test_version"
|
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_test_version"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
package="com.rtbishop.look4sat">
|
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||||
|
@ -15,9 +14,9 @@
|
||||||
android:name=".presentation.MainApplication"
|
android:name=".presentation.MainApplication"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
|
||||||
android:theme="@style/Theme.Look4Sat.Main">
|
android:theme="@style/Theme.Look4Sat.Main">
|
||||||
<activity
|
<activity
|
||||||
android:name=".presentation.MainActivity"
|
android:name=".presentation.MainActivity"
|
||||||
|
|
|
@ -2,13 +2,8 @@ plugins {
|
||||||
id "kotlin"
|
id "kotlin"
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
kotlin {
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
jvmToolchain(11)
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
|
|
||||||
kotlinOptions {
|
|
||||||
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
32
build.gradle
32
build.gradle
|
@ -1,36 +1,38 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
hilt_version = '2.44'
|
hilt_version = '2.44.2'
|
||||||
safe_args_version = '2.4.1'
|
application_version = '7.4.0'
|
||||||
application_version = '7.3.1'
|
|
||||||
library_version = '7.1.2'
|
library_version = '7.1.2'
|
||||||
kotlin_android_version = '1.6.10'
|
kotlin_android_version = '1.8.0'
|
||||||
core_ktx_version = '1.9.0'
|
core_ktx_version = '1.9.0'
|
||||||
core_splashscreen_version = '1.0.0'
|
core_splashscreen_version = '1.0.0'
|
||||||
constraint_version = '2.1.4'
|
constraint_version = '2.1.4'
|
||||||
lifecycle_version = '2.5.1'
|
lifecycle_version = '2.5.1'
|
||||||
navigation_version = '2.5.2'
|
navigation_version = '2.5.3'
|
||||||
work_version = '2.7.1'
|
work_version = '2.7.1'
|
||||||
room_version = '2.4.3'
|
room_version = '2.5.0'
|
||||||
material_version = '1.6.1'
|
material_version = '1.6.1'
|
||||||
osmdroid_version = '6.1.14'
|
osmdroid_version = '6.1.14'
|
||||||
json_version = '20220924'
|
json_version = '20220924'
|
||||||
compose_version = '1.2.1'
|
compose_version = '1.3.3'
|
||||||
activity_compose_version = '1.4.0'
|
compose_compiler_version = '1.4.0'
|
||||||
material_adapter_version = '1.1.10'
|
compose_foundation_version = '1.3.1'
|
||||||
fragment_test_version = '1.5.3'
|
activity_compose_version = '1.6.1'
|
||||||
|
compose_material_version = '1.3.1'
|
||||||
|
material_adapter_version = '1.2.1'
|
||||||
|
fragment_test_version = '1.5.5'
|
||||||
leakcanary_version = '2.9.1'
|
leakcanary_version = '2.9.1'
|
||||||
junit_version = '4.13.2'
|
junit_version = '4.13.2'
|
||||||
mockito_version = '4.8.1'
|
mockito_version = '4.9.0'
|
||||||
robolectric_version = '4.9'
|
robolectric_version = '4.9'
|
||||||
coroutines_test_version = '1.6.4'
|
coroutines_test_version = '1.6.4'
|
||||||
androidx_test_version = '1.4.0'
|
androidx_test_version = '1.5.0'
|
||||||
androidx_junit_version = '1.1.3'
|
androidx_junit_version = '1.1.5'
|
||||||
espresso_version = '3.4.0'
|
espresso_version = '3.5.1'
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
||||||
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$safe_args_version"
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#Sun Aug 07 12:57:36 BST 2022
|
#Fri Jan 27 13:22:02 GMT 2023
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
gradlePluginPortal()
|
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
gradlePluginPortal()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
|
|
Ładowanie…
Reference in New Issue