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

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitVerma882 committed Mar 27, 2024
1 parent f64107c commit ef7ba64
Show file tree
Hide file tree
Showing 32 changed files with 335 additions and 264 deletions.
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

45 changes: 45 additions & 0 deletions .idea/appInsightsSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Heimdoo
Samsung odin3 (protocol) alternative Heimdall ported for Android.
Samsung odin3 alternative Heimdall ported for Android.
85 changes: 0 additions & 85 deletions app/build.gradle

This file was deleted.

107 changes: 107 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
plugins {
alias(libs.plugins.application)
alias(libs.plugins.kotlin)
alias(libs.plugins.materialthemebuilder)
}

android {
namespace = "dev.rohitverma882.heimdoo"
compileSdk = 34
ndkVersion = "26.2.11394342"

defaultConfig {
applicationId = "dev.rohitverma882.heimdoo"
minSdk = 24
targetSdk = 34
versionCode = 13
versionName = "1.8"
resourceConfigurations += "en"
resValue("string", "app_version", "$versionName ($versionCode)")

externalNativeBuild {
cmake {
arguments("-DANDROID_STL=none")
}
}
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

buildFeatures {
viewBinding = true
buildConfig = true
prefab = true
}

buildTypes {
getByName("release") {
isMinifyEnabled = false
isShrinkResources = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
)
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = "17"
}

packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}

lint {
checkReleaseBuilds = false
abortOnError = true
}

externalNativeBuild {
cmake {
path = file("src/main/cpp/CMakeLists.txt")
version = "3.22.1"
}
}

materialThemeBuilder {
themes {
create("Heimdoo") {
primaryColor = "#3551B5"

lightThemeFormat = "Theme.Material3.Light.%s"
lightThemeParent = "Theme.Material3.Light"
darkThemeFormat = "Theme.Material3.Dark.%s"
darkThemeParent = "Theme.Material3.Dark"
}
}
generatePaletteAttributes = true
generateTextColors = true
}
}

dependencies {
implementation(libs.core.ktx)
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity.ktx)
implementation(libs.constraintlayout)
implementation(libs.fragment.ktx)

implementation(libs.kotlinx.coroutines)
implementation(libs.kotlinx.coroutines.core)

implementation(libs.appiconloader)
implementation(libs.rikkax.html.ktx)
implementation(libs.rikkax.cxx)
implementation(libs.app.update.ktx)

testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
androidTestImplementation(libs.espresso.core)
}
39 changes: 0 additions & 39 deletions app/google-services.json

This file was deleted.

23 changes: 2 additions & 21 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,21 +1,2 @@
# 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
-keepattributes SourceFile,LineNumberTable
-renamesourcefileattribute SourceFile
Binary file modified app/release/app-release.apk
Binary file not shown.
Loading

0 comments on commit ef7ba64

Please sign in to comment.