Skip to content

Commit f08173a

Browse files
committed
Initial commit
0 parents  commit f08173a

Some content is hidden

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

46 files changed

+1153
-0
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
plugins {
2+
id 'com.android.application'
3+
id 'org.jetbrains.kotlin.android'
4+
id 'com.google.devtools.ksp'
5+
}
6+
7+
android {
8+
compileSdk 32
9+
10+
defaultConfig {
11+
applicationId "app.osumatrix.hzrefresher"
12+
minSdk 21
13+
targetSdk 21
14+
versionCode 1
15+
versionName "1.0"
16+
17+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18+
vectorDrawables {
19+
useSupportLibrary true
20+
}
21+
}
22+
23+
applicationVariants.all {
24+
kotlin.sourceSets {
25+
getByName(name) {
26+
kotlin.srcDir("build/generated/ksp/$name/kotlin")
27+
}
28+
}
29+
}
30+
31+
buildTypes {
32+
release {
33+
minifyEnabled false
34+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
35+
}
36+
}
37+
compileOptions {
38+
sourceCompatibility JavaVersion.VERSION_1_8
39+
targetCompatibility JavaVersion.VERSION_1_8
40+
}
41+
kotlinOptions {
42+
jvmTarget = '1.8'
43+
}
44+
buildFeatures {
45+
compose true
46+
}
47+
composeOptions {
48+
kotlinCompilerExtensionVersion compose_version
49+
}
50+
packagingOptions {
51+
resources {
52+
excludes += '/META-INF/{AL2.0,LGPL2.1}'
53+
}
54+
}
55+
namespace 'app.osumatrix.hzrefresher'
56+
}
57+
58+
dependencies {
59+
implementation 'androidx.core:core-ktx:1.7.0'
60+
implementation "androidx.compose.ui:ui:$compose_version"
61+
implementation("io.github.raamcosta.compose-destinations:core:1.5.5-beta")
62+
implementation "com.google.android.material:material:1.6.0"
63+
implementation("androidx.navigation:navigation-compose:2.4.2")
64+
implementation "androidx.compose.material3:material3:1.0.0-alpha11"
65+
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
66+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
67+
implementation 'androidx.activity:activity-compose:1.4.0'
68+
69+
ksp "io.github.raamcosta.compose-destinations:ksp:1.5.5-beta"
70+
71+
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
72+
}

app/proguard-rules.pro

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.
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

app/src/main/AndroidManifest.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="app.osumatrix.hzrefresher">
5+
<uses-permission android:name="android.permission.WRITE_SETTINGS"
6+
tools:ignore="ProtectedPermissions" />
7+
8+
<application
9+
android:allowBackup="true"
10+
android:dataExtractionRules="@xml/data_extraction_rules"
11+
android:fullBackupContent="@xml/backup_rules"
12+
android:icon="@mipmap/ic_launcher"
13+
android:label="@string/app_name"
14+
android:roundIcon="@mipmap/ic_launcher_round"
15+
android:supportsRtl="true"
16+
android:theme="@style/Theme.HzRefresher"
17+
tools:targetApi="s">
18+
<activity
19+
android:name=".MainActivity"
20+
android:exported="true"
21+
android:theme="@style/Theme.HzRefresher">
22+
<intent-filter>
23+
<action android:name="android.intent.action.MAIN" />
24+
25+
<category android:name="android.intent.category.LAUNCHER" />
26+
</intent-filter>
27+
</activity>
28+
</application>
29+
30+
</manifest>
6.19 KB
Loading

0 commit comments

Comments
 (0)