Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Commit

Permalink
Feat : Introducing Nazomi Second Playground
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxSpins committed Dec 15, 2024
1 parent e70ce37 commit 5fca534
Show file tree
Hide file tree
Showing 72 changed files with 862 additions and 380 deletions.
20 changes: 0 additions & 20 deletions .androidide/editor/openedFiles.json

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build:
name: Build Sakura
name: Build nozomi
runs-on: ubuntu-latest

steps:
Expand All @@ -33,11 +33,11 @@ jobs:
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v4

- name: Build Sakura Debug
- name: Build nozomi Debug
run: ./gradlew assembleDebug

- name: Upload release app
uses: actions/upload-artifact@v4
with:
name: Sakura-debug
name: nozomi-debug
path: app/build/outputs/apk/debug/
83 changes: 83 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Built application files
*.apk
*.aar
*.ap_
*.aab

# Files for the ART/Dalvik VM
*.dex

# Java class files
*.class

# Generated files
/bin/
/gen/
/out/
# Uncomment the following line in case you need and you don't have the release build type files in your app
# Gradle files
.gradle/
/build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# IntelliJ
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
# Android Studio 3 in .gitignore file.
.idea/caches
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml

# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
#*.jks
#*.keystore

# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
.cxx/

# Google Services (e.g. APIs or Firebase)
# google-services.json

# Freeline
freeline.py
freeline/
freeline_project_description.json

# fastlane
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md

# Version control
vcs.xml

# lint
lint/intermediates/
lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
Binary file modified .gradle/8.9/checksums/checksums.lock
Binary file not shown.
Binary file removed .gradle/8.9/checksums/md5-checksums.bin
Binary file not shown.
Binary file removed .gradle/8.9/checksums/sha1-checksums.bin
Binary file not shown.
Binary file removed .gradle/8.9/executionHistory/executionHistory.bin
Binary file not shown.
Binary file removed .gradle/8.9/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.9/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.9/fileHashes/fileHashes.lock
Binary file not shown.
Binary file removed .gradle/8.9/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 1 addition & 1 deletion .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Wed Oct 30 05:02:26 GMT 2024
#Sun Dec 15 06:41:48 GMT 2024
gradle.version=8.9
Binary file removed .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
2 changes: 0 additions & 2 deletions README.md

This file was deleted.

9 changes: 4 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
plugins {
id("com.android.application")
id("kotlin-android")
id("org.jetbrains.kotlin.plugin.compose")
}

android {
namespace = "com.syntaxspin.sakura"
namespace = "com.syntaxspin.nozomi"
compileSdk = 34

defaultConfig {
applicationId = "com.syntaxspin.sakura"
applicationId = "com.syntaxspin.nozomi"
minSdk = 21
targetSdk = 34
versionCode = 1
Expand All @@ -27,8 +26,8 @@ android {
}

buildTypes {
debug {
isMinifyEnabled = false
release {
isMinifyEnabled = true
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
Expand Down
42 changes: 42 additions & 0 deletions app/src/main/java/com/syntaxspin/nozomi/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package com.syntaxspin.nozomi

import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import com.syntaxspin.nozomi.ui.theme.NozomiTheme

class MainActivity : ComponentActivity() {

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
NozomiTheme {
// A surface container using the 'background' color from the theme
Surface(modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colorScheme.background) {
Greeting("Android")
}
}
}
}
}

@Composable
fun Greeting(name: String, modifier: Modifier = Modifier) {
Text(text = "Hello $name!", modifier = modifier)
}

@Preview(showBackground = true)
@Composable
fun GreetingPreview() {
MyComposeApplicationTheme {
Greeting("Android")
}
}
Loading

0 comments on commit 5fca534

Please sign in to comment.