Skip to content

Commit

Permalink
Update for 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscofranco committed Apr 3, 2024
1 parent 157cdaa commit 2278729
Show file tree
Hide file tree
Showing 30 changed files with 788 additions and 736 deletions.
18 changes: 9 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
.idea
app/app.iml
SimpleReboot.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
.idea
app/app.iml
SimpleReboot.iml
24 changes: 12 additions & 12 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Copyright 2015 Francisco Franco

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
Copyright 2015-2024 Francisco Franco
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Simple-Reboot-app
=================

Source code for my free app Simple Reboot. It's nothing fancy, just pushed following a user request.

Simple-Reboot-app
=================

Source code for my free app Simple Reboot. It's nothing fancy, just pushed following a user request.

Play Store link: https://play.google.com/store/apps/details?id=simple.reboot.com
2 changes: 1 addition & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/build
/build
346 changes: 173 additions & 173 deletions app/app.iml

Large diffs are not rendered by default.

139 changes: 67 additions & 72 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,72 +1,67 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
compileSdkVersion 30
buildToolsVersion "30.0.2"

buildFeatures {
viewBinding true
}

defaultConfig {
applicationId 'simple.reboot.com'
minSdkVersion 21
targetSdkVersion 30
versionCode 1803261731
versionName "8.3"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}

lintOptions {
abortOnError false
checkAllWarnings false
disable 'InvalidPackage'
tasks.lint.enabled = false
}

signingConfigs {
debug {
}

release {
}
}

buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}

debug {
minifyEnabled false
shrinkResources false
}
}
}

dependencies {
implementation 'com.google.android.material:material:1.3.0-alpha02'
implementation 'com.github.topjohnwu.libsu:core:3.0.2'
implementation "androidx.core:core-ktx:1.3.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"
implementation "androidx.activity:activity-ktx:1.1.0"
}
repositories {
mavenCentral()
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

android {
compileSdk = 34
buildToolsVersion = "34.0.0"
namespace = "simple.reboot.com"

buildFeatures {
compose true
}

composeOptions {
kotlinCompilerExtensionVersion = "1.5.11"
}

defaultConfig {
minSdkVersion 21
targetSdkVersion 34
versionCode 1803261732
versionName "9.0"
}

compileOptions {
sourceCompatibility = 17
targetCompatibility = 17
}

kotlinOptions {
jvmTarget = 17
}

signingConfigs {
debug {
}

release {
}
}

buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}

debug {
minifyEnabled false
shrinkResources false
}
}
}

dependencies {
implementation 'com.google.android.material:material:1.11.0'
implementation 'com.github.topjohnwu.libsu:core:5.2.2'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0"

implementation platform('androidx.compose:compose-bom:2024.03.00')
implementation 'androidx.compose.material3:material3:'
implementation 'androidx.activity:activity-compose:1.8.2'

implementation "androidx.lifecycle:lifecycle-runtime-compose:2.7.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0"
}
38 changes: 19 additions & 19 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/opt/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# 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 *;
#}
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/opt/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# 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 *;
#}
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
52 changes: 26 additions & 26 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="simple.reboot.com">

<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme.DialogStyle"
tools:ignore="GoogleAppIndexingWarning">

<activity
android:name=".MainActivity"
android:excludeFromRecents="true"
android:label="@string/app_name"
android:launchMode="singleInstance"
android:taskAffinity=":MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme.DialogStyle"
tools:ignore="GoogleAppIndexingWarning">

<activity
android:name=".MainActivity"
android:excludeFromRecents="true"
android:exported="true"
android:label="@string/app_name"
android:launchMode="singleInstance"
android:taskAffinity=":MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
Loading

0 comments on commit 2278729

Please sign in to comment.