-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace IDE Eclipse with Android Studio
- Loading branch information
Showing
79 changed files
with
243 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.2.3' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
BUILD_PATH="$(readlink -f "$(dirname $0)")" | ||
BUILD_TYPE="$1" | ||
|
||
export PATH="$PATH:$BUILD_PATH" | ||
|
||
if [ -z "$BUILD_TYPE" ] || [[ "$BUILD_TYPE" != "debug" && "$BUILD_TYPE" != "release" ]]; then | ||
BUILD_TYPE="release" | ||
fi | ||
|
||
if [ -f "$BUILD_PATH/gradlew" ]; then | ||
chmod +x "$BUILD_PATH/gradlew" 2> /dev/null | ||
fi | ||
|
||
if which gradlew > /dev/null 2>&1; then | ||
# Build Guardian | ||
cd "$BUILD_PATH/projects/xposedAdditions" || exit 1 | ||
gradlew clean || exit 1 | ||
gradlew build || exit 1 | ||
|
||
else | ||
echo "You need to setup Gradle to build this project" | ||
fi | ||
|
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module external.linked.project.id=":projects" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="XPosedAdditionsGB" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="android-gradle" name="Android-Gradle"> | ||
<configuration> | ||
<option name="GRADLE_PROJECT_PATH" value=":projects" /> | ||
</configuration> | ||
</facet> | ||
<facet type="java-gradle" name="Java-Gradle"> | ||
<configuration> | ||
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" /> | ||
<option name="BUILDABLE" value="false" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<excludeFolder url="file://$MODULE_DIR$/.gradle" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
buildDir = '../../build/xposedAdditions' | ||
|
||
android { | ||
compileSdkVersion 22 | ||
buildToolsVersion "22.0.1" | ||
|
||
defaultConfig { | ||
applicationId "com.spazedog.xposed.additionsgb" | ||
|
||
minSdkVersion 9 | ||
targetSdkVersion 22 | ||
versionCode 69 | ||
versionName "3.5.7" | ||
} | ||
|
||
sourceSets { | ||
main { | ||
manifest { srcFile '../../src/AndroidManifest.xml' } | ||
res { srcDirs = ['../../src/res'] } | ||
resources { srcDirs = ['../../src/java'] } | ||
renderscript { srcDirs = ['../../src/java'] } | ||
java { srcDirs = ['../../src/java'] } | ||
assets { srcDirs = ['../../src/assets'] } | ||
aidl { srcDirs = ['../../src/aidl'] } | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_6 | ||
targetCompatibility JavaVersion.VERSION_1_6 | ||
} | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
} | ||
|
||
repositories { | ||
flatDir { | ||
dirs '../../src/libs' | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: '../../src/libs', include: ['*.jar']) | ||
compile 'com.android.support:appcompat-v7:22.2.0' | ||
compile 'com.android.support:support-v4:22.2.0' | ||
provided files('../../XposedBridgeApi-36.jar') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# To enable ProGuard in your project, edit project.properties | ||
# to define the proguard.config property as described in that file. | ||
# | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in ${sdk.dir}/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the ProGuard | ||
# include property in project.properties. | ||
# | ||
# 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 *; | ||
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module external.linked.project.id=":projects:xposedAdditions" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="XPosedAdditionsGB.projects" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="android-gradle" name="Android-Gradle"> | ||
<configuration> | ||
<option name="GRADLE_PROJECT_PATH" value=":projects:xposedAdditions" /> | ||
</configuration> | ||
</facet> | ||
<facet type="android" name="Android"> | ||
<configuration> | ||
<option name="SELECTED_BUILD_VARIANT" value="debug" /> | ||
<option name="SELECTED_TEST_ARTIFACT" value="_android_test_" /> | ||
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" /> | ||
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" /> | ||
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" /> | ||
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugAndroidTest" /> | ||
<option name="COMPILE_JAVA_TEST_TASK_NAME" value="compileDebugAndroidTestSources" /> | ||
<option name="TEST_SOURCE_GEN_TASK_NAME" value="generateDebugAndroidTestSources" /> | ||
<option name="ALLOW_USER_CONFIGURATION" value="false" /> | ||
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/../../src/AndroidManifest.xml" /> | ||
<option name="RES_FOLDER_RELATIVE_PATH" value="/../../src/res" /> | ||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/../../src/res" /> | ||
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/../../src/assets" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" inherit-compiler-output="false"> | ||
<output url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/classes/debug" /> | ||
<output-test url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/classes/androidTest/debug" /> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$/../../build/xposedAdditions"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/r/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/aidl/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/buildConfig/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/rs/debug" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/res/rs/debug" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/res/generated/debug" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/r/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/res/rs/androidTest/debug" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/generated/res/generated/androidTest/debug" type="java-test-resource" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/assets" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/bundles" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/classes" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/coverage-instrumented-classes" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/dependency-cache" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/dex" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/dex-cache" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/jars" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/incremental" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/jacoco" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/javaResources" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/libs" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/lint" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/manifests" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/ndk" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/pre-dexed" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/proguard" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/res" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/rs" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/intermediates/symbols" /> | ||
<excludeFolder url="file://$MODULE_DIR$/../../build/xposedAdditions/outputs" /> | ||
</content> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" /> | ||
</content> | ||
<content url="file://$MODULE_DIR$/../../src/aidl"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../src/aidl" isTestSource="false" /> | ||
</content> | ||
<content url="file://$MODULE_DIR$/../../src/assets"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../src/assets" type="java-resource" /> | ||
</content> | ||
<content url="file://$MODULE_DIR$/../../src/java"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../src/java" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/../../src/java" isTestSource="false" /> | ||
</content> | ||
<content url="file://$MODULE_DIR$/../../src/res"> | ||
<sourceFolder url="file://$MODULE_DIR$/../../src/res" type="java-resource" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" exported="" name="XposedBridgeApi-36" level="project" /> | ||
<orderEntry type="library" exported="" name="appcompat_v7" level="project" /> | ||
<orderEntry type="library" exported="" name="support-annotations-22.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="support-v4-22.2.0" level="project" /> | ||
<orderEntry type="library" exported="" name="reflecttools" level="project" /> | ||
<orderEntry type="library" exported="" name="appcompat-v7-22.2.0" level="project" /> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ':projects:xposedAdditions' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.