Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .project

This file was deleted.

10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: android

before_install:
- 'sudo mv /usr/local/android-sdk/tools/android-* /usr/local/bin'
- "android-update-sdk --components='platform-tools,tools' --accept-licenses='.+'"
- "android-update-sdk --components='build-tools-20.0.0' --accept-licenses='.+'"
- "android-update-sdk --components='android-20' --accept-licenses='.+'"

script:
./gradlew build
30 changes: 13 additions & 17 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:versionCode="1013"
android:versionName="1.0.1.3">

<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19"/>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="20"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>

<application
Expand All @@ -28,34 +28,30 @@
<activity android:name="DisclaimerActivity"
android:screenOrientation="portrait"/>
<activity android:name=".UsbActivity"
android:screenOrientation="portrait"/>
android:screenOrientation="portrait"/>
<activity android:name=".HTCFastBootActivity"
android:screenOrientation="portrait"/>
android:screenOrientation="portrait"/>
<activity android:name=".PtpActivity"
android:screenOrientation="portrait"/>
android:screenOrientation="portrait"/>
<activity android:name=".UnplugDeviceActivity"
android:screenOrientation="portrait"/>
android:screenOrientation="portrait"/>
<activity android:name=".FinishActivity"
android:exported="true"
android:exported="true"
android:screenOrientation="portrait"/>
<activity android:name=".ReturnToWindowsActivity"
android:exported="true"
android:exported="true"
android:screenOrientation="portrait"/>
<activity android:name=".ReturnToMacActivity"
android:exported="true"
android:screenOrientation="portrait" />
android:exported="true"
android:screenOrientation="portrait" />

<service android:name=".UsbDebuggingMonitorService"
android:exported="false"
/>
android:exported="false"/>
<service android:name=".PtpMonitorService"
android:exported="false"
/>
android:exported="false"/>
<service android:name=".UnplugDeviceMonitorService"
android:exported="false"
/>
android:exported="false"/>
<service android:name=".HTCFastBootMonitorService"
android:exported="false"
/>
android:exported="false"/>
</application>
</manifest>
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2013 Koushik Dutta (2013)
Copyright 2014 Cyanogen, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -10,4 +10,4 @@ Copyright 2013 Koushik Dutta (2013)
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.
limitations under the License.
20 changes: 0 additions & 20 deletions OneClick.iml

This file was deleted.

20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# CyanogenMod Installer #

[![Build Status](https://travis-ci.org/cyngn/OneClickAndroid.svg?branch=master)](https://travis-ci.org/cyngn/OneClickAndroid)

This app will assist you as you install the CyanogenMod experience.

![](web_hi_res_512.png)
![](web_hi_res_512.png)

## License

Copyright 2014 Cyanogen, Inc.

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.
17 changes: 0 additions & 17 deletions ant.properties

This file was deleted.

46 changes: 46 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}
apply plugin: 'com.android.application'

dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}

android {
compileSdkVersion 20
buildToolsVersion "20.0.0"

lintOptions {
abortOnError false
}

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}

// Move the tests to tests/java, tests/res, etc...
//androidTest.setRoot('tests')

// Move the build types to build-types/<type>
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
// This moves them out of them default location under src/<type>/... which would
// conflict with src/ being used by the main source set.
// Adding new build types or product flavors should be accompanied
// by a similar customization.
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
}
92 changes: 0 additions & 92 deletions build.xml

This file was deleted.

Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Fri May 23 16:28:18 PDT 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-bin.zip
Loading