Skip to content

Commit

Permalink
Update to the latest version
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Franco <[email protected]>
  • Loading branch information
franciscofranco committed Jul 29, 2019
1 parent f7a7bfc commit 6c66d74
Show file tree
Hide file tree
Showing 30 changed files with 369 additions and 321 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
/.idea/libraries
.DS_Store
/build
.idea
app/app.iml
SimpleReboot.iml
3 changes: 3 additions & 0 deletions .idea/gradle.xml

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

13 changes: 1 addition & 12 deletions .idea/misc.xml

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

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@ 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

libsuperuser from Chainfire (https://github.com/Chainfire/libsuperuser)
ButterKnife from JakeWharton (https://github.com/JakeWharton/butterknife)
Play Store link: https://play.google.com/store/apps/details?id=simple.reboot.com
6 changes: 3 additions & 3 deletions SimpleReboot.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="SimpleReboot" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<module external.linked.project.id="SimpleReboot" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
Expand All @@ -8,12 +8,12 @@
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
</content>
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
132 changes: 94 additions & 38 deletions app/app.iml

Large diffs are not rendered by default.

45 changes: 19 additions & 26 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
apply plugin: 'com.android.application'

ext {
SUPPORT_LIB = '25.1.1'
}

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
compileSdkVersion 29
buildToolsVersion "29.0.1"

defaultConfig {
applicationId 'simple.reboot.com'
minSdkVersion 16
targetSdkVersion 25
versionCode getVersionCodeTimestamp()
versionName "7.0.1"
minSdkVersion 21
targetSdkVersion 29
versionCode 1803261729
versionName "8.1"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

lintOptions {
Expand All @@ -30,39 +26,36 @@ android {

signingConfigs {
debug {

}

release {

}
}

buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
manifestPlaceholders = [vmSafeModeEnabled: "false"]
}

debug {
minifyEnabled false
shrinkResources false
manifestPlaceholders = [vmSafeModeEnabled: "true"]
}
}
}

static def getVersionCodeTimestamp() {
return new Date().format('yyMMddHHmm').toInteger()
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.support:appcompat-v7:${SUPPORT_LIB}"
compile "com.android.support:cardview-v7:${SUPPORT_LIB}"
compile "com.android.support:design:${SUPPORT_LIB}"
compile 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
compile 'eu.chainfire:libsuperuser:1.0.0.+'
implementation 'com.google.android.material:material:1.1.0-alpha08'
if (properties.containsKey('android.injected.invoked.from.ide')) {
implementation 'com.jakewharton:butterknife-reflect:10.1.0'
} else {
implementation 'com.jakewharton:butterknife-runtime:10.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
}
implementation 'com.github.topjohnwu.libsu:core:2.5.0'
}
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
-keep public class * extends java.lang.Exception
9 changes: 6 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
<?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:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme.DialogStyle"
android:vmSafeMode="${vmSafeModeEnabled}">
tools:ignore="GoogleAppIndexingWarning">

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

Expand Down
Binary file added app/src/main/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6c66d74

Please sign in to comment.