Compare commits

..

No commits in common. "82dc18c1e5fcb37bb57642e86046c6822c953e72" and "affdfeb3c18527595161faf7d3400bb9b6688607" have entirely different histories.

8 changed files with 22 additions and 20 deletions

6
.gitmodules vendored
View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,7 @@
all: all:
cd yggdrasil-go && ANDROID=true contrib/mobile/build cd yggdrasil-extras; \
mv -f yggdrasil-go/yggdrasil.aar yggdrasil.aar; gomobile bind -v -target android -tags mobile -o yggdrasil.aar \
mv -f yggdrasil-go/yggdrasil-sources.jar yggdrasil-sources.jar; 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;

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

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