Compare commits

...

10 Commits

Author SHA1 Message Date
vadym
82dc18c1e5 1. path fix 2022-05-16 13:42:54 +03:00
vadym
e583a68a62 1. path fix 2022-05-16 13:41:09 +03:00
vadym
8324ed2acc 1. cd fix 2022-05-16 13:37:19 +03:00
vadym
09d31bd1cd 1. path fix 2022-05-16 13:32:29 +03:00
vadym
b078f795f9 1. path fix 2022-05-16 13:30:46 +03:00
vadym
7748e4a263 1. submodule fix 2022-05-16 13:28:32 +03:00
vadym
26ee584b55 1. upgraded app to multidex
2. target API upgrade
3. submodule fix
2022-05-16 12:55:35 +03:00
vadym
20d2a93e9f Merge remote-tracking branch 'origin/master' 2022-05-16 12:37:10 +03:00
vadym
61af98781a 1. added yggdrasil-go instead of extras
2. gradle upgrade
3. acra update to secure reporting protocol
2022-05-16 12:36:07 +03:00
Vadym Vikulin
e77bd92b2f
Update .gitmodules
changed path to yggdrasil-go project
2022-05-16 12:27:02 +03:00
8 changed files with 20 additions and 22 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "yggdrasil/yggdrasil-extras"]
path = yggdrasil/yggdrasil-extras
url = https://github.com/yggdrasil-network/yggdrasil-extras
[submodule "yggdrasil/yggdrasil-go"]
path = yggdrasil/yggdrasil-go
url = https://github.com/yggdrasil-network/yggdrasil-go

View File

@ -6,20 +6,21 @@ def acraSecretsProperties = new Properties()
acraSecretsProperties.load(new FileInputStream(acraSecretsPropertiesFile))
android {
compileSdkVersion 31
compileSdkVersion 32
defaultConfig {
applicationId "io.github.chronosx88.yggdrasil"
minSdkVersion 15
targetSdkVersion 31
targetSdkVersion 32
versionCode 37
versionName "2.0.19"
versionName "2.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
setProperty("archivesBaseName", project.getParent().name+"-"+versionName)
buildConfigField("String", "ACRA_BACKEND_URL", acraSecretsProperties['ACRA_BACKEND_URL'])
buildConfigField("String", "ACRA_LOGIN", acraSecretsProperties['ACRA_LOGIN'])
buildConfigField("String", "ACRA_PASSWORD", acraSecretsProperties['ACRA_PASSWORD'])
multiDexEnabled true
}
signingConfigs {
release {
@ -77,17 +78,18 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(path: ':yggdrasil')
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'androidx.preference:preference-ktx:1.1.1'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.preference:preference-ktx:1.2.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0'
implementation 'com.google.android.material:material:1.5.0-alpha04'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2'
implementation 'com.google.android.material:material:1.7.0-alpha01'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.vincentbrison.openlibraries.android:dualcache:3.1.1'
implementation 'com.vincentbrison.openlibraries.android:dualcache-jsonserializer:3.1.1'
implementation 'com.android.support:multidex:1.0.3'
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test:runner:1.4.0'

View File

@ -14,7 +14,6 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name="org.yggdrasil.app.crispa.AboutActivity"

View File

@ -1,14 +1,14 @@
package org.yggdrasil.app.crispa
import android.app.Application
import android.content.Context
import androidx.multidex.MultiDexApplication
import org.acra.config.dialog
import org.acra.config.httpSender
import org.acra.data.StringFormat
import org.acra.ktx.initAcra
import org.acra.sender.HttpSender
class YggApplication : Application() {
class YggApplication : MultiDexApplication() {
override fun attachBaseContext(base: Context) {
super.attachBaseContext(base)

View File

@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong

View File

@ -1,7 +1,4 @@
all:
cd yggdrasil-extras; \
gomobile bind -v -target android -tags mobile -o yggdrasil.aar \
github.com/yggdrasil-network/yggdrasil-extras/src/mobile \
github.com/yggdrasil-network/yggdrasil-go/src/config
mv -f yggdrasil-extras/yggdrasil.aar yggdrasil.aar;
mv -f yggdrasil-extras/yggdrasil-sources.jar yggdrasil-sources.jar;
cd yggdrasil-go && ANDROID=true contrib/mobile/build
mv -f yggdrasil-go/yggdrasil.aar yggdrasil.aar;
mv -f yggdrasil-go/yggdrasil-sources.jar yggdrasil-sources.jar;

@ -1 +0,0 @@
Subproject commit 21d029d6a42d64ec169dfa5d8db039ada07226da

@ -0,0 +1 @@
Subproject commit 42d4298e197e9f4455b9ed34e9b49847cc10af63