mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Updated dependencies and libraries versions
This commit is contained in:
1 parent
f8e7bcdf39
commit
7e2b3bc712
5 files changed
+11
-134
No files matched your search
@@ -31,7 +31,7 @@ interface ISettingsRepo {
|
|||||||
"All" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=active&FORMAT=csv",
|
"All" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=active&FORMAT=csv",
|
||||||
"Amsat" to "https://amsat.org/tle/current/nasabare.txt",
|
"Amsat" to "https://amsat.org/tle/current/nasabare.txt",
|
||||||
"Amateur" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=amateur&FORMAT=csv",
|
"Amateur" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=amateur&FORMAT=csv",
|
||||||
"Classified" to "https://www.prismnet.com/~mmccants/tles/classfd.zip",
|
"Classified" to "https://www.mmccants.org/tles/classfd.zip",
|
||||||
"Cubesat" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=csv",
|
"Cubesat" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=csv",
|
||||||
"Education" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=education&FORMAT=csv",
|
"Education" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=education&FORMAT=csv",
|
||||||
"Engineer" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=engineering&FORMAT=csv",
|
"Engineer" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=engineering&FORMAT=csv",
|
||||||
@@ -40,7 +40,7 @@ interface ISettingsRepo {
|
|||||||
"GNSS" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=gnss&FORMAT=csv",
|
"GNSS" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=gnss&FORMAT=csv",
|
||||||
"Intelsat" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=intelsat&FORMAT=csv",
|
"Intelsat" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=intelsat&FORMAT=csv",
|
||||||
"Iridium" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=iridium-NEXT&FORMAT=csv",
|
"Iridium" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=iridium-NEXT&FORMAT=csv",
|
||||||
"McCants" to "https://www.prismnet.com/~mmccants/tles/inttles.zip",
|
"McCants" to "https://www.mmccants.org/tles/inttles.zip",
|
||||||
"Military" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=military&FORMAT=csv",
|
"Military" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=military&FORMAT=csv",
|
||||||
"New" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=last-30-days&FORMAT=csv",
|
"New" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=last-30-days&FORMAT=csv",
|
||||||
"OneWeb" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=oneweb&FORMAT=csv",
|
"OneWeb" to "https://celestrak.com/NORAD/elements/gp.php?GROUP=oneweb&FORMAT=csv",
|
||||||
|
|||||||
@@ -1,125 +0,0 @@
|
|||||||
/*
|
|
||||||
* Look4Sat. Amateur radio satellite tracker and pass predictor.
|
|
||||||
* Copyright (C) 2019-2022 Arty Bishop (bishop.arty@gmail.com)
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
package com.rtbishop.look4sat.domain
|
|
||||||
|
|
||||||
import com.rtbishop.look4sat.model.GeoPos
|
|
||||||
|
|
||||||
interface ISettingsSource {
|
|
||||||
|
|
||||||
val sourcesMap: Map<String, String>
|
|
||||||
get() = mapOf(
|
|
||||||
"All" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=active&FORMAT=csv",
|
|
||||||
"Amateur" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=csv",
|
|
||||||
"Classified" to "https://www.mmccants.org/~mmccants/tles/classfd.zip",
|
|
||||||
"Cubesat" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=cubesat&FORMAT=csv",
|
|
||||||
"Education" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=education&FORMAT=csv",
|
|
||||||
"Engineer" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=engineering&FORMAT=csv",
|
|
||||||
"Geostationary" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=geo&FORMAT=csv",
|
|
||||||
"Globalstar" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=globalstar&FORMAT=csv",
|
|
||||||
"GNSS" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=gnss&FORMAT=csv",
|
|
||||||
"Intelsat" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=intelsat&FORMAT=csv",
|
|
||||||
"Iridium" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=iridium-NEXT&FORMAT=csv",
|
|
||||||
"McCants" to "https://www.mmccants.org/tles/inttles.zip",
|
|
||||||
"Military" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=military&FORMAT=csv",
|
|
||||||
"New" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=last-30-days&FORMAT=csv",
|
|
||||||
"OneWeb" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=oneweb&FORMAT=csv",
|
|
||||||
"Orbcomm" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=orbcomm&FORMAT=csv",
|
|
||||||
"R4UAB" to "https://r4uab.ru/satonline.txt",
|
|
||||||
"Resource" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=resource&FORMAT=csv",
|
|
||||||
"SatNOGS" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=satnogs&FORMAT=csv",
|
|
||||||
"Science" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=science&FORMAT=csv",
|
|
||||||
"Spire" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=spire&FORMAT=csv",
|
|
||||||
"Starlink" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=starlink&FORMAT=csv",
|
|
||||||
"Swarm" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=swarm&FORMAT=csv",
|
|
||||||
"Weather" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=weather&FORMAT=csv",
|
|
||||||
"X-Comm" to "https://celestrak.org/NORAD/elements/gp.php?GROUP=x-comm&FORMAT=csv",
|
|
||||||
"Amsat" to "https://amsat.org/tle/current/nasabare.txt"
|
|
||||||
)
|
|
||||||
|
|
||||||
fun loadStationPosition(): GeoPos
|
|
||||||
|
|
||||||
fun saveStationPosition(stationPos: GeoPos)
|
|
||||||
|
|
||||||
fun getHoursAhead(): Int
|
|
||||||
|
|
||||||
fun setHoursAhead(hoursAhead: Int)
|
|
||||||
|
|
||||||
fun getMinElevation(): Double
|
|
||||||
|
|
||||||
fun setMinElevation(minElevation: Double)
|
|
||||||
|
|
||||||
fun isUtcEnabled(): Boolean
|
|
||||||
|
|
||||||
fun setUtcState(value: Boolean)
|
|
||||||
|
|
||||||
fun getLastUpdateTime(): Long
|
|
||||||
|
|
||||||
fun setLastUpdateTime(updateTime: Long)
|
|
||||||
|
|
||||||
fun isUpdateEnabled(): Boolean
|
|
||||||
|
|
||||||
fun setUpdateState(value: Boolean)
|
|
||||||
|
|
||||||
fun isSensorEnabled(): Boolean
|
|
||||||
|
|
||||||
fun setSensorState(value: Boolean)
|
|
||||||
|
|
||||||
fun isSweepEnabled(): Boolean
|
|
||||||
|
|
||||||
fun setSweepState(value: Boolean)
|
|
||||||
|
|
||||||
fun saveModesSelection(modes: List<String>)
|
|
||||||
|
|
||||||
fun loadModesSelection(): List<String>
|
|
||||||
|
|
||||||
fun saveEntriesSelection(catnums: List<Int>)
|
|
||||||
|
|
||||||
fun loadEntriesSelection(): List<Int>
|
|
||||||
|
|
||||||
fun saveSatType(type: String, catnums: List<Int>)
|
|
||||||
|
|
||||||
fun loadSatType(type: String): List<Int>
|
|
||||||
|
|
||||||
fun getRotatorEnabled(): Boolean
|
|
||||||
|
|
||||||
fun setRotatorEnabled(value: Boolean)
|
|
||||||
|
|
||||||
fun getRotatorServer(): String
|
|
||||||
|
|
||||||
fun setRotatorServer(value: String)
|
|
||||||
|
|
||||||
fun getRotatorPort(): String
|
|
||||||
|
|
||||||
fun setRotatorPort(value: String)
|
|
||||||
|
|
||||||
fun getBTEnabled(): Boolean
|
|
||||||
|
|
||||||
fun setBTEnabled(value: Boolean)
|
|
||||||
|
|
||||||
fun getBTDeviceAddr(): String
|
|
||||||
|
|
||||||
fun setBTDeviceAddr(value: String)
|
|
||||||
|
|
||||||
fun getBTDeviceName(): String
|
|
||||||
|
|
||||||
fun setBTDeviceName(value: String)
|
|
||||||
|
|
||||||
fun getBTFormat(): String
|
|
||||||
|
|
||||||
fun setBTFormat(value: String)
|
|
||||||
}
|
|
||||||
+5
-5
@@ -1,6 +1,6 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
gradle_plugin_version = '7.4.2'
|
gradle_plugin_version = '8.0.0'
|
||||||
library_plugin_version = '7.1.2'
|
library_plugin_version = '7.1.2'
|
||||||
ksp_version = '1.8.10-1.0.9'
|
ksp_version = '1.8.10-1.0.9'
|
||||||
kotlin_android_version = '1.8.10'
|
kotlin_android_version = '1.8.10'
|
||||||
@@ -9,18 +9,18 @@ buildscript {
|
|||||||
room_version = '2.5.1'
|
room_version = '2.5.1'
|
||||||
// Compose
|
// Compose
|
||||||
activity_compose_version = '1.7.0'
|
activity_compose_version = '1.7.0'
|
||||||
compose_version = '1.4.0'
|
compose_version = '1.4.1'
|
||||||
compose_compiler_version = '1.4.4'
|
compose_compiler_version = '1.4.5'
|
||||||
material3_version = '1.0.1'
|
material3_version = '1.0.1'
|
||||||
lifecycle_version = '2.6.1'
|
lifecycle_version = '2.6.1'
|
||||||
navigation_version = '2.5.3'
|
navigation_version = '2.5.3'
|
||||||
// Utility
|
// Utility
|
||||||
osmdroid_version = '6.1.14'
|
osmdroid_version = '6.1.16'
|
||||||
json_version = '20230227'
|
json_version = '20230227'
|
||||||
leakcanary_version = '2.10'
|
leakcanary_version = '2.10'
|
||||||
// Test
|
// Test
|
||||||
junit_version = '4.13.2'
|
junit_version = '4.13.2'
|
||||||
mockk_version = '1.13.4'
|
mockk_version = '1.13.5'
|
||||||
coroutines_test_version = '1.6.4'
|
coroutines_test_version = '1.6.4'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,9 @@
|
|||||||
# resources declared in the library itself and none from the library's dependencies,
|
# resources declared in the library itself and none from the library's dependencies,
|
||||||
# thereby reducing the size of the R class for that library
|
# thereby reducing the size of the R class for that library
|
||||||
#android.nonTransitiveRClass=true
|
#android.nonTransitiveRClass=true
|
||||||
|
android.defaults.buildfeatures.buildconfig=false
|
||||||
android.enableJetifier=false
|
android.enableJetifier=false
|
||||||
|
android.nonFinalResIds=false
|
||||||
android.nonTransitiveRClass=true
|
android.nonTransitiveRClass=true
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
#Mon Mar 20 10:37:41 GMT 2023
|
#Fri Apr 14 10:44:38 BST 2023
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
Reference in new issue
Block a user