Skip to content

Commit c689ac9

Browse files
committed
Initial commit
0 parents  commit c689ac9

Some content is hidden

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

60 files changed

+2005
-0
lines changed

.gitignore

+15
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

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.name

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinScripting.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
plugins {
2+
id 'com.android.application'
3+
id 'org.jetbrains.kotlin.android'
4+
id 'dagger.hilt.android.plugin'
5+
id 'kotlin-kapt'
6+
id 'kotlin-parcelize'
7+
}
8+
9+
android {
10+
namespace 'com.anafthdev.remindme'
11+
compileSdk 33
12+
13+
defaultConfig {
14+
applicationId "com.anafthdev.remindme"
15+
minSdk 24
16+
targetSdk 33
17+
versionCode 1
18+
versionName "1.0"
19+
20+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
21+
vectorDrawables {
22+
useSupportLibrary true
23+
}
24+
}
25+
26+
buildTypes {
27+
debug {
28+
minifyEnabled false
29+
kotlinOptions {
30+
freeCompilerArgs += [
31+
'-Xopt-in=kotlin.RequiresOptIn'
32+
]
33+
freeCompilerArgs += [
34+
"-Xjvm-default=all",
35+
]
36+
}
37+
}
38+
release {
39+
minifyEnabled true
40+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
41+
kotlinOptions {
42+
freeCompilerArgs += [
43+
'-Xopt-in=kotlin.RequiresOptIn'
44+
]
45+
freeCompilerArgs += [
46+
"-Xjvm-default=all",
47+
]
48+
}
49+
}
50+
}
51+
compileOptions {
52+
sourceCompatibility JavaVersion.VERSION_11
53+
targetCompatibility JavaVersion.VERSION_11
54+
}
55+
kotlinOptions {
56+
jvmTarget = '11'
57+
}
58+
buildFeatures {
59+
compose true
60+
}
61+
composeOptions {
62+
kotlinCompilerExtensionVersion '1.3.2'
63+
}
64+
packagingOptions {
65+
resources {
66+
excludes += '/META-INF/{AL2.0,LGPL2.1}'
67+
}
68+
}
69+
}
70+
71+
dependencies {
72+
73+
implementation 'androidx.core:core-ktx:1.9.0'
74+
implementation 'androidx.activity:activity-compose:1.6.1'
75+
implementation "androidx.compose.ui:ui:$compose_version"
76+
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
77+
implementation "androidx.compose.ui:ui-util:$compose_version"
78+
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"
79+
implementation "androidx.navigation:navigation-compose:2.5.3"
80+
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
81+
82+
// Constraint layout
83+
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
84+
85+
// Material Design
86+
implementation 'com.google.android.material:material:1.7.0'
87+
implementation "androidx.compose.material:material:1.3.1"
88+
implementation "androidx.compose.material:material-icons-extended:1.3.1"
89+
implementation "androidx.compose.material3:material3:1.1.0-alpha03"
90+
implementation "androidx.compose.material3:material3-window-size-class:1.0.1"
91+
92+
// Datastore
93+
implementation "androidx.datastore:datastore:1.0.0"
94+
implementation "androidx.datastore:datastore-preferences:1.0.0"
95+
implementation "androidx.datastore:datastore-core:1.0.0"
96+
97+
// Lifecycle
98+
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.6.0-alpha03"
99+
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.5.1"
100+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
101+
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
102+
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
103+
implementation 'androidx.core:core-ktx:1.9.0'
104+
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
105+
kapt 'androidx.lifecycle:lifecycle-common-java8:2.5.1'
106+
107+
// Firebase
108+
implementation 'com.google.firebase:firebase-analytics-ktx:21.2.0'
109+
implementation 'com.google.android.gms:play-services-ads:21.4.0'
110+
111+
// Dependency Injection
112+
implementation 'com.google.dagger:hilt-android:2.42'
113+
kapt 'androidx.hilt:hilt-compiler:1.0.0'
114+
kapt 'com.google.dagger:hilt-compiler:2.42'
115+
kapt 'com.google.dagger:hilt-android-compiler:2.39.1'
116+
117+
// Datastore
118+
implementation "androidx.datastore:datastore:1.0.0"
119+
implementation "androidx.datastore:datastore-preferences:1.0.0"
120+
implementation "androidx.datastore:datastore-core:1.0.0"
121+
122+
// Room
123+
implementation 'androidx.room:room-runtime:2.4.3'
124+
implementation 'androidx.room:room-ktx:2.4.3'
125+
kapt 'androidx.room:room-compiler:2.4.3'
126+
127+
// Accompanist
128+
implementation "com.google.accompanist:accompanist-pager:$accompanist_version"
129+
implementation "com.google.accompanist:accompanist-adaptive:$accompanist_version"
130+
implementation "com.google.accompanist:accompanist-navigation-material:$accompanist_version"
131+
implementation "com.google.accompanist:accompanist-navigation-animation:$accompanist_version"
132+
implementation "com.google.accompanist:accompanist-flowlayout:$accompanist_version"
133+
implementation "com.google.accompanist:accompanist-systemuicontroller:$accompanist_version"
134+
135+
// Other
136+
implementation "com.google.code.gson:gson:2.8.9"
137+
implementation 'com.jakewharton.timber:timber:5.0.1'
138+
implementation 'joda-time:joda-time:2.10.14'
139+
140+
testImplementation 'junit:junit:4.13.2'
141+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
142+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
143+
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
144+
androidTestImplementation 'com.google.dagger:hilt-android-testing:2.38.1'
145+
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
146+
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
147+
kaptAndroidTest 'com.google.dagger:hilt-android-compiler:2.39.1'
148+
}

app/proguard-rules.pro

+21
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
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package com.anafthdev.remindme
2+
3+
import androidx.test.platform.app.InstrumentationRegistry
4+
import androidx.test.ext.junit.runners.AndroidJUnit4
5+
6+
import org.junit.Test
7+
import org.junit.runner.RunWith
8+
9+
import org.junit.Assert.*
10+
11+
/**
12+
* Instrumented test, which will execute on an Android device.
13+
*
14+
* See [testing documentation](http://d.android.com/tools/testing).
15+
*/
16+
@RunWith(AndroidJUnit4::class)
17+
class ExampleInstrumentedTest {
18+
@Test
19+
fun useAppContext() {
20+
// Context of the app under test.
21+
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22+
assertEquals("com.anafthdev.remindme", appContext.packageName)
23+
}
24+
}

app/src/main/AndroidManifest.xml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
5+
<application
6+
android:allowBackup="true"
7+
android:dataExtractionRules="@xml/data_extraction_rules"
8+
android:fullBackupContent="@xml/backup_rules"
9+
android:icon="@mipmap/ic_launcher"
10+
android:label="@string/app_name"
11+
android:supportsRtl="true"
12+
android:theme="@style/Theme.RemindMe"
13+
tools:targetApi="31">
14+
<activity
15+
android:name=".runtime.MainActivity"
16+
android:exported="true"
17+
android:label="@string/app_name"
18+
android:theme="@style/Theme.RemindMe">
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+
</application>
26+
27+
</manifest>

0 commit comments

Comments
 (0)