mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 08:17:04 +05:30
Initial commit
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
commit
29c374859b
27 changed files with 823 additions and 0 deletions
28
android/build.gradle.kts
Normal file
28
android/build.gradle.kts
Normal file
|
@ -0,0 +1,28 @@
|
|||
plugins {
|
||||
id("org.jetbrains.compose") version "0.4.0"
|
||||
id("com.android.application")
|
||||
kotlin("android")
|
||||
}
|
||||
|
||||
group = "dev.msfjarvis.claw"
|
||||
|
||||
version = "1.0"
|
||||
|
||||
repositories { google() }
|
||||
|
||||
dependencies {
|
||||
implementation(project(":common"))
|
||||
implementation("androidx.activity:activity-compose:1.3.0-alpha08")
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion(30)
|
||||
defaultConfig {
|
||||
applicationId = "dev.msfjarvis.claw.android"
|
||||
minSdkVersion(23)
|
||||
targetSdkVersion(30)
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
}
|
||||
buildTypes { getByName("release") { isMinifyEnabled = false } }
|
||||
}
|
18
android/src/main/AndroidManifest.xml
Normal file
18
android/src/main/AndroidManifest.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="dev.msfjarvis.claw.android"
|
||||
>
|
||||
<application
|
||||
android:allowBackup="false"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
|
||||
>
|
||||
<activity android:name=".MainActivity">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
</manifest>
|
|
@ -0,0 +1,13 @@
|
|||
package dev.msfjarvis.claw.android
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.activity.compose.setContent
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import dev.msfjarvis.claw.common.App
|
||||
|
||||
class MainActivity : AppCompatActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContent { App() }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue