Skip to content

Commit cc5cbbd

Browse files
chore: add 0.30 variant to default branch
1 parent 39c1ea5 commit cc5cbbd

File tree

90 files changed

+6520
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+6520
-0
lines changed

Variant — 0.30/.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
*.iml
2+
.gradle
3+
/.idea/
4+
.DS_Store
5+
/build
6+
/app/build/
7+
/captures
8+
.externalNativeBuild
9+
.cxx
10+
app-simple-wallet/local.properties
11+
app-advanced-features/local.properties
12+
app-ui-only/local.properties
13+
app-simple-wallet/app/build/
14+
app/build/
15+
app-ui-only/app/build/
16+
app-clean/
17+
.idea/
18+
local.properties
19+
app.run.xml
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
plugins {
2+
id("com.android.application")
3+
id("org.jetbrains.kotlin.android")
4+
}
5+
6+
android {
7+
compileSdk = 34
8+
9+
buildFeatures {
10+
viewBinding = true
11+
compose = true
12+
}
13+
14+
defaultConfig {
15+
applicationId = "com.goldenraven.devkitwallet"
16+
minSdk = 26
17+
targetSdk = 34
18+
versionCode = 1
19+
versionName = "v0.0.1"
20+
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
21+
}
22+
23+
buildTypes {
24+
getByName("debug") {
25+
isDebuggable = true
26+
}
27+
}
28+
29+
compileOptions {
30+
sourceCompatibility = JavaVersion.VERSION_1_8
31+
targetCompatibility = JavaVersion.VERSION_1_8
32+
}
33+
34+
kotlinOptions {
35+
jvmTarget = "1.8"
36+
}
37+
38+
composeOptions {
39+
kotlinCompilerExtensionVersion = "1.5.5"
40+
}
41+
42+
namespace = "com.goldenraven.devkitwallet"
43+
}
44+
45+
dependencies {
46+
// basic android dependencies
47+
implementation ("org.jetbrains.kotlin:kotlin-stdlib:1.9.20")
48+
implementation ("androidx.core:core-ktx:1.12.0")
49+
implementation ("com.google.android.material:material:1.10.0")
50+
51+
// compose
52+
// Adding the Bill of Materials synchronizes dependencies in the androidx.compose namespace
53+
// You can remove the library version in your dependency declarations
54+
implementation(platform("androidx.compose:compose-bom:2023.06.01"))
55+
implementation("androidx.compose.material:material")
56+
implementation("androidx.compose.animation:animation")
57+
implementation("androidx.compose.ui:ui-tooling")
58+
implementation("androidx.compose.runtime:runtime-livedata")
59+
implementation("androidx.compose.ui:ui")
60+
implementation("androidx.compose.material3:material3")
61+
implementation("androidx.activity:activity-compose")
62+
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2")
63+
// implementation("androidx.navigation:navigation-compose:2.4.1")
64+
implementation("androidx.constraintlayout:constraintlayout-compose:1.0.1")
65+
implementation("com.google.accompanist:accompanist-navigation-animation:0.23.1")
66+
implementation("com.google.accompanist:accompanist-systemuicontroller:0.23.1")
67+
68+
// toolbar
69+
implementation("androidx.appcompat:appcompat:1.6.1")
70+
71+
// bitcoindevkit
72+
implementation("org.bitcoindevkit:bdk-android:0.30.0")
73+
74+
// qr codes
75+
implementation("com.google.zxing:core:3.4.1")
76+
77+
// tests
78+
testImplementation ("junit:junit:4.13.2")
79+
androidTestImplementation ("androidx.test.ext:junit:1.1.5")
80+
androidTestImplementation ("androidx.test.espresso:espresso-core:3.5.1")
81+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.kts.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest
3+
xmlns:android="http://schemas.android.com/apk/res/android">
4+
5+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
6+
<application
7+
android:name=".DevkitWalletApplication"
8+
android:allowBackup="true"
9+
android:icon="@mipmap/ic_launcher"
10+
android:label="@string/app_name"
11+
android:roundIcon="@mipmap/ic_launcher_bdk_round"
12+
android:supportsRtl="true"
13+
android:theme="@style/Theme.BitcoindevkitSampleApp">
14+
15+
<activity
16+
android:name="com.goldenraven.devkitwallet.DevkitWalletActivity"
17+
android:theme="@style/Theme.BitcoindevkitSampleApp.Launcher"
18+
android:exported="true">
19+
<intent-filter>
20+
<action android:name="android.intent.action.MAIN" />
21+
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
</activity>
25+
26+
</application>
27+
28+
</manifest>

0 commit comments

Comments
 (0)