Skip to content

Commit 6a157f6

Browse files
committed
Initial commit
0 parents  commit 6a157f6

17 files changed

Lines changed: 513 additions & 0 deletions

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea
5+
.DS_Store
6+
/build
7+
/captures

LICENSE.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2016 Henning Post
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# RxBrainwaves
2+
3+
[![](https://jitpack.io/v/cc.femto/rx-brainwaves.svg)](https://jitpack.io/#cc.femto/rx-brainwaves)
4+
5+
RxJava wrapper for NeuroSky MindWave headsets
6+
7+
8+
Add it to your build.gradle with:
9+
```gradle
10+
allprojects {
11+
repositories {
12+
maven { url "https://jitpack.io" }
13+
}
14+
}
15+
```
16+
and:
17+
18+
```gradle
19+
dependencies {
20+
implementation "cc.femto:rx-brainwaves:0.1"
21+
}
22+
```

build.gradle

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
buildscript {
2+
ext.kotlin_version = '1.2.60'
3+
ext.rxjava_version = '2.1.7'
4+
5+
repositories {
6+
google()
7+
jcenter()
8+
}
9+
dependencies {
10+
classpath "com.android.tools.build:gradle:3.0.1"
11+
classpath "com.github.dcendents:android-maven-gradle-plugin:2.0"
12+
}
13+
}
14+
15+
allprojects {
16+
repositories {
17+
google()
18+
jcenter()
19+
}
20+
}
21+
22+
task clean(type: Delete) {
23+
delete rootProject.buildDir
24+
}

gradle/wrapper/gradle-wrapper.jar

52.4 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Wed Dec 20 13:27:03 PST 2017
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

gradlew

Lines changed: 160 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rx-brainwaves/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

rx-brainwaves/build.gradle

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
apply plugin: 'com.android.library'
2+
apply plugin: 'kotlin-android'
3+
apply plugin: 'com.github.dcendents.android-maven'
4+
5+
group = 'com.github.hpost'
6+
7+
buildscript {
8+
repositories {
9+
mavenCentral()
10+
}
11+
12+
dependencies {
13+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
14+
}
15+
}
16+
17+
android {
18+
compileSdkVersion 28
19+
20+
defaultConfig {
21+
minSdkVersion 21
22+
targetSdkVersion 28
23+
versionCode 1
24+
versionName "0.1"
25+
}
26+
27+
sourceSets {
28+
main.java.srcDirs += 'src/main/kotlin'
29+
}
30+
}
31+
32+
dependencies {
33+
implementation fileTree(dir: 'libs', include: ['*.jar'])
34+
35+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
36+
37+
implementation "io.reactivex.rxjava2:rxjava:$rxjava_version"
38+
implementation "io.reactivex.rxjava2:rxkotlin:2.2.0"
39+
}
40+
41+
task sourcesJar(type: Jar) {
42+
from android.sourceSets.main.java.srcDirs
43+
classifier = 'sources'
44+
}
45+
46+
artifacts {
47+
archives sourcesJar
48+
}

0 commit comments

Comments
 (0)