Skip to content

Commit

Permalink
changed to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulkumar66 committed Mar 22, 2015
1 parent 20492b2 commit 13547d5
Show file tree
Hide file tree
Showing 200 changed files with 13,955 additions and 2,270 deletions.
32 changes: 14 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@

# built application files
*.apk
*.ap_

# files for the dex VM
*.dex
*.txt

# Java class files
*.class

# generated files
bin/
gen/
lib/

out/
build/
.gradle/
# Project files
*.iml
.idea
# .idea/workspace.xml
# Local configuration file (sdk path, etc)
local.properties

# Eclipse project files
.classpath
.project

# Proguard folder generated by Eclipse
proguard/

# Intellij project files
*.iml
*.ipr
keystore.properties
# Windows thumbnail db
.DS_Store
# Idea non-crucial project fileS
*.iws
.idea/
# Sandbox stuff

17 changes: 0 additions & 17 deletions LICENSE

This file was deleted.

39 changes: 0 additions & 39 deletions README.md

This file was deleted.

24 changes: 24 additions & 0 deletions androidCommon/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 21
buildToolsVersion "21.0.1"

defaultConfig {

minSdkVersion 8
targetSdkVersion 18
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile 'com.google.code.gson:gson:2.2.2'
compile files('libs/RootTools-2.6.jar')
}
Binary file added androidCommon/libs/RootTools-2.6.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions androidCommon/lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<lint>
<issue id="MissingTranslation">
<ignore path="res/values/strings.xml" />
<ignore path="res/values/strings.xml" />
</issue>
</lint>
16 changes: 16 additions & 0 deletions androidCommon/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.asksven.android.common.privateapiproxies"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="14" />

<application
android:label="@string/app_name" >
<activity android:name="com.asksven.android.common.ReadmeActivity" />
</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/**
* Contrib by Chainfire (see https://raw.github.com/Chainfire/libsuperuser/master/libsuperuser/src/eu/chainfire/libsuperuser/Shell.java)
*/
package com.asksven.andoid.common.contrib;

/*
* Copyright (C) 2012 Jorrit "Chainfire" Jongma
*
* 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.
*/

import com.asksven.android.common.CommonLogSettings;

import android.util.Log;

/**
* Utility class that intentionally does nothing when not in debug mode
*/
public class Debug {
/**
* Log a message if we are in debug mode
* @param message The message to log
*/
public static void log(String message) {
if (CommonLogSettings.DEBUG)
{
Log.d("libsuperuser", "[libsuperuser]" + (!message.startsWith("[") && !message.startsWith(" ") ? " " : "") + message);
}
}
}
Loading

0 comments on commit 13547d5

Please sign in to comment.