-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from stslex/dev
update versions
- Loading branch information
Showing
16 changed files
with
185 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
object AppVersions { | ||
const val VERSION_NAME = "1.70" | ||
const val VERSION_CODE = 16 | ||
const val VERSION_NAME = "1.71" | ||
const val VERSION_CODE = 17 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
build-logic/dependencies/src/main/kotlin/st.slex.csplashscreen/LocalPropertiesConstants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
package st.slex.csplashscreen | ||
|
||
internal object LocalPropertiesConstants { | ||
const val API_KEY = "API_KEY" | ||
enum class LocalProperties( | ||
val key: String, | ||
val buildName: String, | ||
val type: String, | ||
) { | ||
API_KEY( | ||
key = "API_KEY", | ||
buildName = "API_KEY", | ||
type = "String", | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
core/network/src/main/java/st/slex/csplashscreen/core/network/client/NetworkClient.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
package st.slex.csplashscreen.core.network.client | ||
|
||
import io.ktor.client.HttpClient | ||
import io.ktor.client.call.body | ||
import io.ktor.client.request.HttpRequestBuilder | ||
import io.ktor.client.request.get | ||
|
||
interface NetworkClient { | ||
|
||
suspend fun <T> request(request: suspend HttpClient.() -> T): T | ||
} | ||
|
||
internal suspend inline fun <reified T> NetworkClient.get( | ||
crossinline builder: suspend HttpRequestBuilder.() -> Unit | ||
): T = request { | ||
get { | ||
builder() | ||
}.body() | ||
} |
67 changes: 0 additions & 67 deletions
67
core/network/src/main/java/st/slex/csplashscreen/core/network/client/NetworkClientBuilder.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.