mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
Update android build configs (#534)
* Update compile sdk version Update kotlin version * Add missing HavenAccountList class to configure to be generated with haven.dart file * Revert compile sdk and ndk changes
This commit is contained in:
parent
c10bf5df52
commit
a283660c42
2 changed files with 11 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
buildscript {
|
buildscript {
|
||||||
|
ext.kotlin_version = '1.5.10'
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
jcenter()
|
jcenter()
|
||||||
|
@ -7,6 +8,7 @@ buildscript {
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:4.1.3'
|
classpath 'com.android.tools.build:gradle:4.1.3'
|
||||||
classpath 'com.google.gms:google-services:4.3.8'
|
classpath 'com.google.gms:google-services:4.3.8'
|
||||||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -433,6 +433,15 @@ abstract class MoneroSubaddressList {
|
||||||
Future<void> setLabelSubaddress(Object wallet,
|
Future<void> setLabelSubaddress(Object wallet,
|
||||||
{required int accountIndex, required int addressIndex, required String label});
|
{required int accountIndex, required int addressIndex, required String label});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
abstract class HavenAccountList {
|
||||||
|
ObservableList<Account> get accounts;
|
||||||
|
void update(Object wallet);
|
||||||
|
void refresh(Object wallet);
|
||||||
|
List<Account> getAll(Object wallet);
|
||||||
|
Future<void> addAccount(Object wallet, {required String label});
|
||||||
|
Future<void> setLabelAccount(Object wallet, {required int accountIndex, required String label});
|
||||||
|
}
|
||||||
""";
|
""";
|
||||||
|
|
||||||
const havenEmptyDefinition = 'Haven? haven;\n';
|
const havenEmptyDefinition = 'Haven? haven;\n';
|
||||||
|
|
Loading…
Reference in a new issue