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
35 changes: 31 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
def android_jar = new File(System.getenv('ANDROID_HOME'), '/platforms/android-17/android.jar')
apply plugin: 'com.android.library'

apply plugin: 'java'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
}
}

sourceCompatibility = 1.5
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 9
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
lintOptions {
abortOnError false
}

}
repositories {
jcenter()
}

dependencies {
compile files(android_jar)
repositories {
mavenCentral()
}
compile 'com.squareup.okhttp:okhttp:2.5.0'

}
4 changes: 4 additions & 0 deletions src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.codebutler.android_websockets">
</manifest>
Loading