Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
ae88d305
Commit
ae88d305
authored
Apr 05, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finally, official Java 8 support
parent
411b600e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
15 deletions
+7
-15
README.md
README.md
+2
-0
build.gradle
app/build.gradle
+1
-8
proguard-rules.pro
app/proguard-rules.pro
+0
-2
ZipUtils.java
app/src/main/java/com/topjohnwu/magisk/utils/ZipUtils.java
+1
-1
build.gradle
build.gradle
+1
-2
gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
+2
-2
No files found.
README.md
View file @
ae88d305
# Magisk Manager
# Magisk Manager
I used Java 8 features in the app, and official supported is added in Android Studio 2.4
Aware that Android Studio 2.4 is currently in the Preview Channel
You need to install CMake and NDK to build the zipadjust library for zip preprocessing
You need to install CMake and NDK to build the zipadjust library for zip preprocessing
app/build.gradle
View file @
ae88d305
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
apply
plugin:
'me.tatarka.retrolambda'
android
{
android
{
compileSdkVersion
25
compileSdkVersion
25
buildToolsVersion
"2
5.0.2
"
buildToolsVersion
"2
6.0.0-rc1
"
defaultConfig
{
defaultConfig
{
applicationId
"com.topjohnwu.magisk"
applicationId
"com.topjohnwu.magisk"
...
@@ -38,11 +37,6 @@ android {
...
@@ -38,11 +37,6 @@ android {
lintOptions
{
lintOptions
{
disable
'MissingTranslation'
disable
'MissingTranslation'
}
}
retrolambda
{
javaVersion
JavaVersion
.
VERSION_1_7
defaultMethods
false
incremental
true
}
}
}
repositories
{
repositories
{
jcenter
()
jcenter
()
...
@@ -57,7 +51,6 @@ dependencies {
...
@@ -57,7 +51,6 @@ dependencies {
compile
'com.android.support:design:25.3.1'
compile
'com.android.support:design:25.3.1'
compile
'com.android.support:support-v4:25.3.1'
compile
'com.android.support:support-v4:25.3.1'
compile
'com.jakewharton:butterknife:8.5.1'
compile
'com.jakewharton:butterknife:8.5.1'
compile
'com.github.clans:fab:1.6.4'
compile
'com.thoughtbot:expandablerecyclerview:1.4'
compile
'com.thoughtbot:expandablerecyclerview:1.4'
compile
'us.feras.mdv:markdownview:1.1.0'
compile
'us.feras.mdv:markdownview:1.1.0'
compile
'com.madgag.spongycastle:core:1.54.0.0'
compile
'com.madgag.spongycastle:core:1.54.0.0'
...
...
app/proguard-rules.pro
View file @
ae88d305
...
@@ -25,5 +25,3 @@
...
@@ -25,5 +25,3 @@
-
keep
class
org
.
spongycastle
.
**
{
*
;
}
-
keep
class
org
.
spongycastle
.
**
{
*
;
}
-
dontwarn
javax
.
naming
.
**
-
dontwarn
javax
.
naming
.
**
# retrolambda
-
dontwarn
java
.
lang
.
invoke
.
*
app/src/main/java/com/topjohnwu/magisk/utils/ZipUtils.java
View file @
ae88d305
...
@@ -997,7 +997,7 @@ public class ZipUtils {
...
@@ -997,7 +997,7 @@ public class ZipUtils {
return
manifest
;
return
manifest
;
}
}
public
Enumeration
<
JarEntry
>
entries
()
{
public
Enumeration
<
JarEntry
>
entries
()
{
Iterator
<
Entry
<
String
,
Pair
<
JarEntry
,
ByteArrayOutputStream
>
>>
i
=
entrySet
().
iterator
();
Iterator
<
Map
.
Entry
<
String
,
Pair
<
JarEntry
,
ByteArrayOutputStream
>
>>
i
=
entrySet
().
iterator
();
ArrayList
<
JarEntry
>
list
=
new
ArrayList
<>();
ArrayList
<
JarEntry
>
list
=
new
ArrayList
<>();
while
(
i
.
hasNext
())
while
(
i
.
hasNext
())
list
.
add
(
i
.
next
().
getValue
().
first
);
list
.
add
(
i
.
next
().
getValue
().
first
);
...
...
build.gradle
View file @
ae88d305
...
@@ -6,8 +6,7 @@ buildscript {
...
@@ -6,8 +6,7 @@ buildscript {
mavenCentral
()
mavenCentral
()
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:2.3.0'
classpath
'com.android.tools.build:gradle:2.4.0-alpha4'
classpath
'me.tatarka:gradle-retrolambda:3.6.0'
// NOTE: Do not place your application dependencies here; they belong
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
...
...
gradle/wrapper/gradle-wrapper.properties
View file @
ae88d305
#Wed A
ug 17 11:39:12 CEST 2016
#Wed A
pr 05 09:31:45 CST 2017
distributionBase
=
GRADLE_USER_HOME
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-3.
3
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-3.
4.1
-all.zip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment