diff --git a/AOS/.gitignore b/AOS/.gitignore new file mode 100644 index 00000000..f124bdd8 --- /dev/null +++ b/AOS/.gitignore @@ -0,0 +1,16 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +local.properties +/.idea/misc.xml diff --git a/AOS/.idea/.gitignore b/AOS/.idea/.gitignore new file mode 100644 index 00000000..26d33521 --- /dev/null +++ b/AOS/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/AOS/.idea/.name b/AOS/.idea/.name new file mode 100644 index 00000000..7ca65f16 --- /dev/null +++ b/AOS/.idea/.name @@ -0,0 +1 @@ +MindSync \ No newline at end of file diff --git a/AOS/.idea/compiler.xml b/AOS/.idea/compiler.xml new file mode 100644 index 00000000..b589d56e --- /dev/null +++ b/AOS/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/AOS/.idea/gradle.xml b/AOS/.idea/gradle.xml new file mode 100644 index 00000000..ae388c2a --- /dev/null +++ b/AOS/.idea/gradle.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/AOS/.idea/kotlinc.xml b/AOS/.idea/kotlinc.xml new file mode 100644 index 00000000..fdf8d994 --- /dev/null +++ b/AOS/.idea/kotlinc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/AOS/.idea/vcs.xml b/AOS/.idea/vcs.xml new file mode 100644 index 00000000..6c0b8635 --- /dev/null +++ b/AOS/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/AOS/app/.gitignore b/AOS/app/.gitignore new file mode 100644 index 00000000..42afabfd --- /dev/null +++ b/AOS/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/AOS/app/build.gradle.kts b/AOS/app/build.gradle.kts new file mode 100644 index 00000000..6a894fad --- /dev/null +++ b/AOS/app/build.gradle.kts @@ -0,0 +1,64 @@ +plugins { + id("com.android.application") + id("org.jetbrains.kotlin.android") + id("androidx.navigation.safeargs.kotlin") + kotlin("kapt") + id("com.google.dagger.hilt.android") +} + +android { + namespace = "boostcamp.and07.mindsync" + compileSdk = 34 + + defaultConfig { + applicationId = "boostcamp.and07.mindsync" + minSdk = 26 + targetSdk = 34 + versionCode = 1 + versionName = "1.0" + + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + } + buildTypes { + release { + isMinifyEnabled = false + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + buildFeatures { + viewBinding = true + dataBinding = true + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + } + kotlinOptions { + jvmTarget = "17" + } +} + +dependencies { + // androidx + implementation("androidx.core:core-ktx:1.9.0") + implementation("androidx.appcompat:appcompat:1.6.1") + implementation("androidx.constraintlayout:constraintlayout:2.1.4") + // test + androidTestImplementation("androidx.test.ext:junit:1.1.5") + androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") + testImplementation("junit:junit:4.13.2") + // material + implementation("com.google.android.material:material:1.10.0") + // hilt, + implementation("com.google.dagger:hilt-android:2.44") + kapt("com.google.dagger:hilt-android-compiler:2.44") + // retrofit + implementation("com.squareup.retrofit2:retrofit:2.9.0") + // navigation + val nav_version = "2.7.5" + implementation("androidx.navigation:navigation-fragment-ktx:$nav_version") + implementation("androidx.navigation:navigation-ui-ktx:$nav_version") +} diff --git a/AOS/app/proguard-rules.pro b/AOS/app/proguard-rules.pro new file mode 100644 index 00000000..481bb434 --- /dev/null +++ b/AOS/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/AOS/app/src/androidTest/java/boostcamp/and07/mindsync/ExampleInstrumentedTest.kt b/AOS/app/src/androidTest/java/boostcamp/and07/mindsync/ExampleInstrumentedTest.kt new file mode 100644 index 00000000..308b6bb0 --- /dev/null +++ b/AOS/app/src/androidTest/java/boostcamp/and07/mindsync/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package boostcamp.and07.mindsync + +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.ext.junit.runners.AndroidJUnit4 + +import org.junit.Test +import org.junit.runner.RunWith + +import org.junit.Assert.* + +/** + * Instrumented test, which will execute on an Android device. + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +@RunWith(AndroidJUnit4::class) +class ExampleInstrumentedTest { + @Test + fun useAppContext() { + // Context of the app under test. + val appContext = InstrumentationRegistry.getInstrumentation().targetContext + assertEquals("boostcamp.and07.mindsync", appContext.packageName) + } +} \ No newline at end of file diff --git a/AOS/app/src/main/AndroidManifest.xml b/AOS/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..1ee079c1 --- /dev/null +++ b/AOS/app/src/main/AndroidManifest.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AOS/app/src/main/java/boostcamp/and07/mindsync/MainActivity.kt b/AOS/app/src/main/java/boostcamp/and07/mindsync/MainActivity.kt new file mode 100644 index 00000000..27622c9d --- /dev/null +++ b/AOS/app/src/main/java/boostcamp/and07/mindsync/MainActivity.kt @@ -0,0 +1,11 @@ +package boostcamp.and07.mindsync + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle + +class MainActivity : AppCompatActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_main) + } +} \ No newline at end of file diff --git a/AOS/app/src/main/res/drawable/ic_launcher_background.xml b/AOS/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 00000000..07d5da9c --- /dev/null +++ b/AOS/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AOS/app/src/main/res/drawable/ic_launcher_foreground.xml b/AOS/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 00000000..2b068d11 --- /dev/null +++ b/AOS/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/AOS/app/src/main/res/layout/activity_main.xml b/AOS/app/src/main/res/layout/activity_main.xml new file mode 100644 index 00000000..17eab17b --- /dev/null +++ b/AOS/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/AOS/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/AOS/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..6f3b755b --- /dev/null +++ b/AOS/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/AOS/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/AOS/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 00000000..6f3b755b --- /dev/null +++ b/AOS/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/AOS/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/AOS/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 00000000..c209e78e Binary files /dev/null and b/AOS/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/AOS/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/AOS/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 00000000..b2dfe3d1 Binary files /dev/null and b/AOS/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/AOS/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/AOS/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 00000000..4f0f1d64 Binary files /dev/null and b/AOS/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/AOS/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/AOS/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 00000000..62b611da Binary files /dev/null and b/AOS/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/AOS/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/AOS/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 00000000..948a3070 Binary files /dev/null and b/AOS/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/AOS/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/AOS/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..1b9a6956 Binary files /dev/null and b/AOS/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/AOS/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/AOS/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 00000000..28d4b77f Binary files /dev/null and b/AOS/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/AOS/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/AOS/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..9287f508 Binary files /dev/null and b/AOS/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/AOS/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/AOS/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 00000000..aa7d6427 Binary files /dev/null and b/AOS/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/AOS/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/AOS/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..9126ae37 Binary files /dev/null and b/AOS/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/AOS/app/src/main/res/values-night/themes.xml b/AOS/app/src/main/res/values-night/themes.xml new file mode 100644 index 00000000..cb14c845 --- /dev/null +++ b/AOS/app/src/main/res/values-night/themes.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/AOS/app/src/main/res/values/colors.xml b/AOS/app/src/main/res/values/colors.xml new file mode 100644 index 00000000..c8524cd9 --- /dev/null +++ b/AOS/app/src/main/res/values/colors.xml @@ -0,0 +1,5 @@ + + + #FF000000 + #FFFFFFFF + \ No newline at end of file diff --git a/AOS/app/src/main/res/values/strings.xml b/AOS/app/src/main/res/values/strings.xml new file mode 100644 index 00000000..40c3ab5b --- /dev/null +++ b/AOS/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + MindSync + \ No newline at end of file diff --git a/AOS/app/src/main/res/values/themes.xml b/AOS/app/src/main/res/values/themes.xml new file mode 100644 index 00000000..d377ef73 --- /dev/null +++ b/AOS/app/src/main/res/values/themes.xml @@ -0,0 +1,9 @@ + + + + +