add several environment for posts and update dependencies

This commit is contained in:
InsanusMokrassar 2021-12-22 13:03:07 +06:00
parent 5a1f69e01c
commit 9a268b7200
6 changed files with 25 additions and 6 deletions

View File

@ -8,9 +8,9 @@ jobs:
- uses: actions/setup-java@v1 - uses: actions/setup-java@v1
with: with:
java-version: 1.8 java-version: 1.8
- name: Fix android 31.0.0 dx - name: Fix android 32.0.0 dx
continue-on-error: true continue-on-error: true
run: cd /usr/local/lib/android/sdk/build-tools/31.0.0/ && mv d8 dx && cd lib && mv d8.jar dx.jar run: cd /usr/local/lib/android/sdk/build-tools/32.0.0/ && mv d8 dx && cd lib && mv d8.jar dx.jar
- name: Rewrite version - name: Rewrite version
run: | run: |
branch="`echo "${{ github.ref }}" | grep -o "[^/]*$"`" branch="`echo "${{ github.ref }}" | grep -o "[^/]*$"`"

View File

@ -0,0 +1,6 @@
package dev.inmo.postssystem.features.posts.server
import dev.inmo.micro_utils.repos.CRUDRepo
import dev.inmo.postssystem.features.posts.common.*
interface ServerPostsStorage : ServerReadPostsStorage, ServerWritePostsStorage, CRUDRepo<RegisteredPost, PostId, NewPost>

View File

@ -0,0 +1,7 @@
package dev.inmo.postssystem.features.posts.server
import dev.inmo.micro_utils.repos.ReadCRUDRepo
import dev.inmo.postssystem.features.posts.common.PostId
import dev.inmo.postssystem.features.posts.common.RegisteredPost
interface ServerReadPostsStorage : ReadCRUDRepo<RegisteredPost, PostId>

View File

@ -0,0 +1,6 @@
package dev.inmo.postssystem.features.posts.server
import dev.inmo.micro_utils.repos.WriteCRUDRepo
import dev.inmo.postssystem.features.posts.common.*
interface ServerWritePostsStorage : WriteCRUDRepo<RegisteredPost, PostId, NewPost>

View File

@ -13,7 +13,7 @@ kotlin_version=1.5.31
kotlin_serialisation_core_version=1.3.1 kotlin_serialisation_core_version=1.3.1
koin_version=3.1.2 koin_version=3.1.2
microutils_version=0.8.5 microutils_version=0.8.7
ktor_version=1.6.5 ktor_version=1.6.5
logback_version=1.2.6 logback_version=1.2.6
uuid_version=0.3.1 uuid_version=0.3.1
@ -32,8 +32,8 @@ materialDesignLite=1.3.0
# ANDROID # ANDROID
android_minSdkVersion=21 android_minSdkVersion=21
android_compileSdkVersion=31 android_compileSdkVersion=32
android_buildToolsVersion=31.0.0 android_buildToolsVersion=32.0.0
dexcount_version=3.0.0 dexcount_version=3.0.0
junit_version=4.12 junit_version=4.12
test_ext_junit_version=1.1.2 test_ext_junit_version=1.1.2

View File

@ -1,4 +1,4 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME