Skip to content
Merged

Dev #127

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
2de9723
AA-222
Jun 12, 2018
e97f591
AA-211
Oct 10, 2018
d7cb407
AA-211 some minor updates
JongChern Oct 10, 2018
513ca6b
AA-211
Oct 10, 2018
19d1d0d
Merge remote-tracking branch 'origin/AA-211' into AA-211
Oct 10, 2018
ca0af94
AA-231 minor fix due to some problems with using concurrenthashmaps on
JongChern Oct 11, 2018
b9b57e3
AA-237
jyong15 Oct 3, 2019
128299d
update
JongChern Mar 5, 2020
6014d3b
ASM-861 #time 1h updates to include Verisense
marknolan Mar 16, 2020
5a60e55
ASM-861 #time 5m resolved errors with build
marknolan Mar 18, 2020
f1cbf6c
Merge remote-tracking branch 'origin/ASM-844' into ASM-861
marknolan Mar 19, 2020
6cda482
ASM-861 #time 2h updates to Verisense sensor classes
marknolan Mar 19, 2020
3bb70ce
ASM-861 #time 5m added Verisense channel bitmaps
marknolan Mar 20, 2020
b059d82
ASM-861 #time 10m minor updates to support Verisense
marknolan Mar 23, 2020
faef24d
ASM-861 #time 5m changed channel order
marknolan Mar 23, 2020
368640d
ASM-1041 #time 10m commit of ASM PPG HW IDs
marknolan Mar 31, 2020
36c1cd4
ASM-861 #time 5m added MAX86150 sensor definition
marknolan Mar 31, 2020
a4905bf
ASM-1041 #time 5m changed bitmask for PPG sensors & added GSR
marknolan Mar 31, 2020
8d0abe9
ASM-1041 #time 5m created new function to return full version number str
marknolan Apr 1, 2020
e94d913
ASM-1041 #time 10m added support for Verisense Dev Board
marknolan Apr 3, 2020
43c8644
ASM-1041 #time 10m updated PPG calibration
marknolan Apr 4, 2020
6e72169
ASM-1041 #time 1h more integration of PPG module
marknolan Apr 6, 2020
10e6cf6
ASM-1041 #time 5m making a private method public
marknolan Apr 7, 2020
95c5c17
ASM-1041 #time 5m added bitmask for Verisense algo
marknolan Apr 7, 2020
480cbc9
ASM-861 #time 2h further support for gyro
marknolan Apr 16, 2020
db3f7b1
ASM-861 10m fixed maven reference repos
May 8, 2020
5ea771c
ASM-1132 #time 10m changes for new PPG chip
marknolan May 21, 2020
2b85689
ASM-1132 #time 1m added new Verisense PPG definitions
marknolan Jun 2, 2020
2880efb
update proto + grpc
JongChern Sep 29, 2020
5046659
proto files committed
JongChern Oct 1, 2020
4842458
Merge remote-tracking branch 'origin/NeuHome-Devel' into NEUR-1465
JongChern Oct 1, 2020
b17b29e
remove neuro proto files
JongChern Oct 2, 2020
870d55a
minor
JongChern Oct 2, 2020
de77f50
trying to update the lib
JongChern Oct 2, 2020
518a376
minor
JongChern Oct 9, 2020
cd36da8
commit JS and eclipse launch files
JongChern Oct 13, 2020
3c208fd
now functional
JongChern Oct 15, 2020
a4c2320
Merge remote-tracking branch 'origin/NEUR-1465' into NEUR-1479
JongChern Oct 20, 2020
2415d7b
update
JongChern Oct 22, 2020
cc9256a
Merge pull request #42 from ShimmerEngineering/NEUR-1479
JongChern Oct 28, 2020
3f204e7
add MSG_ID_SOURCE_S3_UPLOAD_MANAGER
MAzalya Nov 6, 2020
a17a5ff
minor
JongChern Nov 10, 2020
0657a4f
Merge pull request #43 from ShimmerEngineering/NEUR-1482_MA
JongChern Nov 13, 2020
a2547f1
new msg id
JongChern Nov 16, 2020
1e73d43
add new MSG_ID_BT_TO_DB_RECORDING
MAzalya Nov 17, 2020
fd1c730
refactor
JongChern Nov 18, 2020
41b7f09
minor fix
JongChern Nov 18, 2020
6d706d0
Merge pull request #44 from ShimmerEngineering/NEUR-1482_MA2
JongChern Nov 18, 2020
d0ee1ad
Merge remote-tracking branch 'origin/NeuHome-Devel' into NEUR-1490
JongChern Nov 18, 2020
7ebb8eb
Merge pull request #45 from ShimmerEngineering/NEUR-1490
JongChern Nov 20, 2020
e8fe67c
Merge pull request #46 from ShimmerEngineering/Dev
JongChern Nov 29, 2020
27cc42d
Merge pull request #47 from ShimmerEngineering/NeuHome-Devel
JongChern Nov 29, 2020
1f899bb
commit example eclipse tool
JongChern Dec 1, 2020
87f347c
Merge pull request #48 from ShimmerEngineering/NOL-2
ShimmerEngineering Dec 1, 2020
50509f3
NOL-10 #time 1h
jyong15 Dec 2, 2020
9046354
NOL-3 #time 1h
jyong15 Dec 4, 2020
a838f10
minor
JongChern Dec 10, 2020
950dacb
fix made
JongChern Dec 14, 2020
94fcbaf
updates
JongChern Dec 17, 2020
576f3fc
Merge pull request #50 from ShimmerEngineering/NEUR-1492
JongChern Dec 17, 2020
5d8de32
Merge remote-tracking branch 'origin/Dev' into NEUR-1480_test
JongChern Dec 21, 2020
a602179
Merge pull request #51 from ShimmerEngineering/NEUR-1480_test
JongChern Dec 28, 2020
27cb8e3
NOL-10 #time 1h
jyong15 Jan 7, 2021
6d4f288
NOL-10 #time 2h
jyong15 Jan 8, 2021
7b3676c
NOL-10 #time 3h
jyong15 Jan 14, 2021
6a0a324
NOL-10 #time 1h
jyong15 Jan 21, 2021
515afdd
Merge pull request #52 from ShimmerEngineering/NOL-10
RuMolloy Jan 21, 2021
a519b18
minor
JongChern Feb 19, 2021
31031e3
Merge remote-tracking branch 'origin/AA-245' into AA-246
JongChern Feb 19, 2021
1d9d1ac
update batt status timer period
MAzalya Feb 25, 2021
5636fb6
update
JongChern Apr 9, 2021
a444473
Merge pull request #54 from ShimmerEngineering/NEUR-1508
JongChern Apr 14, 2021
27f0811
Merge pull request #53 from ShimmerEngineering/NEUR-1515
JongChern Apr 14, 2021
308ded6
JA-49 #time 2hrs added api access via jfrog proof of concept
RuMolloy May 12, 2021
5675bd2
JA-49 #time 8h editing build gradle files for ShimmerBTMan/ShimmerDriver
RuMolloy May 14, 2021
e8625fe
JA-49 #time 15m added comparison for dbl array to n decimal places
marknolan May 14, 2021
c258f5a
JA-49 #time 10m bug fix for previous commit
marknolan May 14, 2021
87acf52
JA-49 #time 20m added gradle build file for ShimmerDriverPC
RuMolloy May 17, 2021
ab4d7a0
Merge pull request #9 from ShimmerEngineering/AA-222
JongChern May 18, 2021
0cff6f0
Merge pull request #20 from ShimmerEngineering/AA-211
JongChern May 18, 2021
f6cbb6a
Merge pull request #35 from ShimmerEngineering/AA-237
JongChern May 18, 2021
d0426f8
Merge pull request #38 from ShimmerEngineering/SUP-159_2
JongChern May 18, 2021
eaa6e45
Merge remote-tracking branch 'origin/Dev' into AA-245
JongChern May 18, 2021
ff785f5
Merge pull request #49 from ShimmerEngineering/AA-245
JongChern May 18, 2021
a305567
Merge remote-tracking branch 'origin/Dev' into AA-246
JongChern May 18, 2021
ecf3f8e
Merge pull request #55 from ShimmerEngineering/AA-246
RuMolloy May 18, 2021
42e5ab8
AA-245, i am including logic to try disconnect the serial port if an
JongChern May 19, 2021
06951b5
Merge pull request #56 from ShimmerEngineering/AA-245_2
JongChern May 19, 2021
5dfcbd5
update to gradle
JongChern May 20, 2021
295fda4
update to bmanager gradle file
JongChern May 20, 2021
433d77a
minor update for shimmerdriverpc
JongChern May 20, 2021
197e2f4
minor comments
ShimmerEngineering May 20, 2021
1991617
comments added
ShimmerEngineering May 21, 2021
2bec818
comments added
ShimmerEngineering May 21, 2021
8ab5a6d
minor refactor
JongChern May 24, 2021
00dcb39
remove jfrog example
JongChern May 25, 2021
4bc05b0
remove java 7 reference comments
JongChern May 25, 2021
abe044b
Merge pull request #57 from ShimmerEngineering/JA-49_JFrog_Example
ShimmerEngineering May 25, 2021
d7198ba
ASM-1736 #time 15m adding constants to driver for Verisense GSR support
marknolan Jun 21, 2021
8a00579
Merge remote-tracking branch 'origin/Dev' into ASM-861
marknolan Jun 22, 2021
35a502b
ASM-1736 #time 4h vbatt and gsr working in verisense file parser
marknolan Jun 29, 2021
9da533f
ASM-1736 #time 5m update to ADC ref voltage for Verisense
marknolan Jul 1, 2021
1cac53d
ASM-1736 #time 15m addressing review comments
marknolan Jul 27, 2021
7ee6b29
ASM-1736 #time 5m commit of channel unit = score
marknolan Aug 3, 2021
64fc537
ASM-1736 #time 30m addressing review comments
marknolan Aug 4, 2021
db33c5e
Merge pull request #39 from ShimmerEngineering/ASM-861
marknolan Aug 6, 2021
b17a982
uprev
JongChern Aug 6, 2021
a721368
Merge pull request #59 from ShimmerEngineering/uprev
JongChern Aug 6, 2021
c1cafdd
add logic to purge upon successful connection on serial port
JongChern Mar 4, 2022
90ffe84
Add timer for connecting state
Mar 14, 2022
d4a7b5b
minor update
Mar 17, 2022
d89327a
Merge pull request #71 from ShimmerEngineering/NOL-48_WW
JongChern Mar 17, 2022
3d1c160
Add log message for connecting timer
Mar 29, 2022
9f00c1e
JA-74 #time 2h BT connect/reconnect bug fixes
marknolan Apr 5, 2022
c2846fd
JA-74 #time 15m commit of needed files from JA-56
marknolan Apr 5, 2022
27f8fe1
JA-74 #time 5m new static variable changed from private to public
marknolan Apr 5, 2022
c76c1a2
JA-74 #time 10m changed first read delay duration
marknolan Apr 5, 2022
a44dd4d
JA-74 #time 1h minor fixes
marknolan Apr 8, 2022
48295b5
Merge pull request #74 from ShimmerEngineering/JA-74
marknolan Jun 30, 2022
0a2c370
dealing with issues from a previous merge
Sep 6, 2022
bb6d7d9
CON-658 #time 1h driver support for new get BT module ver command
marknolan Sep 7, 2022
c2ad8f8
CON-658 #time 1h finish BT module reading support
marknolan Sep 7, 2022
10e0555
CON-658 #time 1m minor refactor
marknolan Sep 7, 2022
656ab89
CON-658 #time 5m support for RN41
marknolan Sep 7, 2022
e4aa1f3
JA-79 #time 5m support for CRC detection while streaming
marknolan Sep 9, 2022
e7f5c26
CON-658 #time 5m adding new BT commands to protobuf source files
marknolan Sep 9, 2022
728560e
JA-79 #time 10m updated default CRC mode
marknolan Sep 13, 2022
a025b0f
JA-79 #time 5m minor bug fix if CRC is set in global
marknolan Sep 14, 2022
22811f0
fix mCurrentLEDStatus not being set
Sep 14, 2022
b69e51b
update to use consoleprintln from parent class
Sep 14, 2022
fcf6892
Merge pull request #73 from ShimmerEngineering/NOL-48_WW
marknolan Sep 14, 2022
63a0c95
Merge pull request #84 from ShimmerEngineering/CON-658
marknolan Sep 20, 2022
09318eb
Merge remote-tracking branch 'origin/Dev' into JA-79
marknolan Sep 20, 2022
b6ca665
JA-79 #time 5m bug fix, hiding CRC bytes in configure panel on older FW
marknolan Sep 20, 2022
9eb39b9
addressing review comment
marknolan Sep 21, 2022
66df0af
JA-79 #time 1h better handling of CRC enabling/disabling per Shimmer
marknolan Sep 21, 2022
2b5d8c4
Merge pull request #85 from ShimmerEngineering/JA-79
jyong15 Sep 23, 2022
ade0507
remove SET_BLINK_LED Ack check
Oct 4, 2022
2f4f926
Merge remote-tracking branch 'origin/Dev' into JA-80
Oct 4, 2022
9c230fa
Add set blink led button
Oct 4, 2022
e10dde5
CON-663 #time 1h updates to support customer Shimmer3 sensor model
marknolan Oct 4, 2022
3f764e9
minor fix for 2R
JongChern Oct 11, 2022
3210bf7
JA-82 #time 1h bug fix for reading CRC bytes from BT responses
marknolan Oct 11, 2022
6079652
Merge pull request #91 from ShimmerEngineering/JA-82
JongChern Oct 12, 2022
8168ded
Merge branch 'Dev' into JA-80
JongChern Oct 12, 2022
28d021b
Update ShimmerBluetooth.java
JongChern Oct 12, 2022
e8d8585
minor update for testing
JongChern Oct 12, 2022
ae68cb4
Merge pull request #86 from ShimmerEngineering/JA-80
JongChern Oct 12, 2022
67a0efa
CON-663 #time 5m addressing PR comment
marknolan Oct 14, 2022
4187848
Merge pull request #90 from ShimmerEngineering/CON-663
marknolan Oct 18, 2022
e5a56bb
JA-74 #time 30m BT reliability code changes copied from other branch
marknolan Oct 19, 2022
b8edf30
NOL-48 #time 20m update new timer to match other timer implementations
marknolan Oct 19, 2022
2351b6c
Merge remote-tracking branch 'origin/Dev' into NOL-48
marknolan Oct 19, 2022
0303c8a
Merge pull request #92 from ShimmerEngineering/JA-74
marknolan Oct 21, 2022
f80b76a
Update ShimmerPC.java
JongChern Oct 27, 2022
c9ebb8b
Merge remote-tracking branch 'origin/Dev' into NOL-48
marknolan Oct 27, 2022
b279882
Merge pull request #95 from ShimmerEngineering/NOL-48
JongChern Oct 27, 2022
ce56033
CON-670 #time 15m moved CRC management solely to ShimmerBluetooth
marknolan Nov 3, 2022
7abf38d
fix SD and BT channels issue
MAzalya Nov 8, 2022
553f30a
Merge pull request #96 from ShimmerEngineering/CON-670
JongChern Nov 14, 2022
ad7f287
Merge remote-tracking branch 'origin/Dev' into CON-644
JongChern Nov 14, 2022
7be6ab0
Merge pull request #97 from ShimmerEngineering/CON-644
JongChern Nov 14, 2022
d4a4de0
try/catch on mTimerReadBattStatus
marknolan Jan 26, 2023
3872564
Merge branch 'Dev' of https://github.com/ShimmerEngineering/Shimmer-J…
marknolan Jan 26, 2023
201dead
ASM-2156 #time 1h fixed possibility out-of-range GSR values to be parsed
marknolan Feb 16, 2023
a81671c
ASM-2156 #time 5m implemented alternative approach to GSR range limiting
marknolan Feb 27, 2023
680afc2
Merge pull request #99 from ShimmerEngineering/ASM-2156_2
marknolan Mar 14, 2023
4be921d
minor
JongChern Jul 21, 2023
72fc1f1
minor
JongChern Jul 24, 2023
b905708
JA-87 #time 10m update source/targetCompatibility to java 1.8
marknolan Jul 24, 2023
8853da7
minor
JongChern Jul 28, 2023
1390805
Merge pull request #119 from ShimmerEngineering/JA-88
ShimmerEngineering Jul 28, 2023
a4483b8
minor
JongChern Jul 28, 2023
43dadb3
Merge pull request #120 from ShimmerEngineering/JA-88
ShimmerEngineering Jul 28, 2023
c31d6f5
Merge branch 'Dev' into JA-87
JongChern Jul 28, 2023
3abe8ee
Merge pull request #118 from ShimmerEngineering/JA-87
JongChern Jul 28, 2023
541d377
JA-91 #time 1h tidying gradle files and setting source compatability 1.8
marknolan Aug 28, 2023
09eb420
JA-91 #time 1m putting back in some gradle code
marknolan Aug 28, 2023
697f2f4
Merge pull request #121 from ShimmerEngineering/JA-91
JongChern Aug 29, 2023
f57c52b
JA-91 #time 5m update from githubproperties to gradle.properties
marknolan Aug 29, 2023
8f00e59
Merge pull request #122 from ShimmerEngineering/JA-91
JongChern Aug 30, 2023
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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ out/production/ShimmerPCInstrumentDriver/com/shimmerresearch/pcdriver/DockExcept
JavaShimmerConnect/.settings/org.eclipse.jdt.core.prefs
ShimmerDriver/.settings/org.eclipse.jdt.core.prefs
ShimmerAndroidInstrumentDriver/gen/com/shimmerresearch/androidinstrumentdriver/BuildConfig.java
ShimmerAndroidInstrumentDriver/gen/com/shimmerresearch/androidinstrumentdriver/R.java
ShimmerAndroidInstrumentDriver/gen/com/shimmerresearch/androidinstrumentdriver/R.java
gradle.properties
github.properties
35 changes: 19 additions & 16 deletions ShimmerBluetoothManager/.classpath
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java">
<attributes>
<attribute name="FROM_GRADLE_MODEL" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src/test/java">
<attributes>
<attribute name="FROM_GRADLE_MODEL" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin/main" path="src/main/java">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/test" path="src/test/java">
<attributes>
<attribute name="gradle_scope" value="test"/>
<attribute name="gradle_used_by_scope" value="test"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ connection.arguments=
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.java.home=null
connection.jvm.arguments=
<<<<<<< HEAD
connection.project.dir=../ShimmerDriverPC
=======
connection.project.dir=../../Shimmer-Advance-API/ShimmerPCExamples
>>>>>>> refs/heads/Consensys_v1.5.10
connection.project.dir=../../ConsensysApps/OtherConsensysApps
derived.resources=.gradle,build
eclipse.preferences.version=1
natures=org.eclipse.jdt.core.javanature
Expand Down
6 changes: 3 additions & 3 deletions ShimmerBluetoothManager/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
org.eclipse.jdt.core.compiler.source=1.8
294 changes: 39 additions & 255 deletions ShimmerBluetoothManager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,284 +2,68 @@ apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
archivesBaseName = 'ShimmerBluetoothManager'
group = 'com.shimmerresearch.managers.bluetoothmanager'
//group = "myorg"

version = '0.9.30beta'

/*
Rev0.2
- switch to using jfrog
*/

sourceCompatibility = 1.7
targetCompatibility = 1.7
//This version should match the git release tag
//version = '0.9.43alpha'

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
jcenter()
mavenCentral()
flatDir {
dirs 'libs'
}
maven {
url "http://repository.ops4j.org/maven2/"
}
}

sourceSets {
main
mavenLocal()
}

// custom tasks for creating source/javadoc jars
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

// add javadoc/source jar tasks as artifacts
artifacts {
archives sourcesJar, javadocJar
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java

publishing {
publications {
mavenJava(MavenPublication) {
if (plugins.hasPlugin('war')) {
from components.web
} else {
from components.java
}
groupId = 'com.shimmerresearch' // Replace with your package's group/organization name
artifactId = 'shimmerbluetoothmanager' // Replace with the name of your package
version = '0.10.0_alpha' // Replace with your package version

artifact sourcesJar
//artifact javadocJar
}
// Jar publication
//(
//artifact sourceJar {
// classifier 'sources'
//}
}
}

/*
bintray {
user = bintray_username //this usually comes from gradle.properties file in ~/.gradle
key = bintray_api_key //this usually comes from gradle.properties file in ~/.gradle

// configurations = ['deployables'] //When uploading configuration files
// - OR -
publications = ['mavenJava'] //When uploading Maven-based publication files
// - AND/OR -
// filesSpec { //When uploading any arbitrary files ('filesSpec' is a standard Gradle CopySpec)
// from 'arbitrary-files'
// into 'standalone_files/level1'
// rename '(.+)\\.(.+)', '$1-suffix.$2'
// }
dryRun = false //Whether to run this as dry-run, without deploying
publish = true //If version should be auto published after an upload
pkg {
// repo = 'myrepo'
repo = 'testshimmer'
name = 'shimmerbluetoothmanager'
// userOrg = 'myorg' //An optional organization name when the repo belongs to one of the user's orgs
desc = 'what a fantastic package indeed!'
websiteUrl = 'https://github.com/bintray/bintray-examples'
issueTrackerUrl = 'https://github.com/bintray/bintray-examples/issues'
vcsUrl = 'https://github.com/JongChern/ShimmerTest'
licenses = ['Apache-2.0']
labels = ['example', 'gradle', 'bintray']
publicDownloadNumbers = true
attributes= ['a': ['ay1', 'ay2'], 'b': ['bee'], c: 'cee'] //Optional package-level attributes
//Optional version descriptor
version {
name = project.version //Bintray logical version name
desc = 'optional, version-specific description'
// released = 'optional, date of the version release' //2 possible values: date in the format of 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ' OR a java.util.Date instance
// vcsTag = '1.3.0'
// attributes = ['gradle-plugin': 'com.use.less:com.use.less.gradle:gradle-useless-plugin'] //Optional version-level attributes
// gpg {
// sign = true //Determines whether to GPG sign the files. The default is false
// passphrase = 'passphrase' //Optional. The passphrase for GPG signing'
// }
mavenCentralSync {
sync = false //Optional (true by default). Determines whether to sync the version to Maven Central.
user = 'userToken' //OSS user token
password = 'paasword' //OSS user password
close = '1' //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
}
}
}
}
*/

/*
bintray {
user = shimmer_bintray_username //this usually comes from gradle.properties file in ~/.gradle
key = shimmer_bintray_api_key //this usually comes from gradle.properties file in ~/.gradle

// configurations = ['deployables'] //When uploading configuration files
// - OR -
publications = ['mavenJava'] //When uploading Maven-based publication files
// - AND/OR -
// filesSpec { //When uploading any arbitrary files ('filesSpec' is a standard Gradle CopySpec)
// from 'arbitrary-files'
// into 'standalone_files/level1'
// rename '(.+)\\.(.+)', '$1-suffix.$2'
// }
dryRun = false //Whether to run this as dry-run, without deploying
publish = true //If version should be auto published after an upload
pkg {
// repo = 'myrepo'
repo = 'Shimmer'
name = 'shimmerbluetoothmanager'
// userOrg = 'myorg' //An optional organization name when the repo belongs to one of the user's orgs
desc = 'this is the bluetooth manager, with no OS specific code'
websiteUrl = 'https://github.com/bintray/bintray-examples'
issueTrackerUrl = 'https://github.com/bintray/bintray-examples/issues'
vcsUrl = 'https://github.com/ShimmerEngineering/Shimmer-Java-Android-API'
licenses = ['Apache-2.0']
labels = ['example', 'gradle', 'bintray']
publicDownloadNumbers = true
attributes= ['a': ['ay1', 'ay2'], 'b': ['bee'], c: 'cee'] //Optional package-level attributes
//Optional version descriptor
version {
name = project.version //Bintray logical version name
desc = ''
// released = 'optional, date of the version release' //2 possible values: date in the format of 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ' OR a java.util.Date instance
// vcsTag = '1.3.0'
// attributes = ['gradle-plugin': 'com.use.less:com.use.less.gradle:gradle-useless-plugin'] //Optional version-level attributes
// gpg {
// sign = true //Determines whether to GPG sign the files. The default is false
// passphrase = 'passphrase' //Optional. The passphrase for GPG signing'
// }
mavenCentralSync {
sync = false //Optional (true by default). Determines whether to sync the version to Maven Central.
user = 'userToken' //OSS user token
password = 'paasword' //OSS user password
close = '1' //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ShimmerEngineering/Shimmer-Java-Android-API")
credentials {
/* Create gradle.properties file in GRADLE_USER_HOME/.gradle/
(e.g. C:/Users/YourUsername/.gradle/) with the two lines listed below. Fill in your
Github ID and personal access token - as generated through the Github Developer
Settings page. The token needs to have "read:packages" scope enabled on it:
gpr.usr=GITHUB_USER_ID
gpr.key=PERSONAL_ACCESS_TOKEN
*/
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}
*/

/*
sourceSets.all { set ->
def jarTask = task("${set.name}Jar", type: Jar) {
baseName = baseName + "-$set.name"
from set.output
}

artifacts {
archives jarTask
}
}

sourceSets {
api
impl
}*/

//create a single Jar with all dependencies
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Gradle Jar File Example',
'Implementation-Version': version,
'Main-Class': 'com.shimmerresearch.driver'
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

//create a single Jar without dependencies
task singleJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Gradle Jar File Example',
'Implementation-Version': version,
'Main-Class': 'com.shimmerresearch.driver'
}
baseName = project.name
jar {
from sourceSets.main.allSource
}
with jar
}

jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart',
'Implementation-Version': version
}
}

/*
jar {
from sourceSets.api.output
from sourceSets.impl.output
}
*/

dependencies {
compile 'commons-codec:commons-codec:1.5'
compile 'commons-lang:commons-lang:2.6'
compile project (':ShimmerDriver')

// Declare the dependency for your favourite test framework you want to use in your tests.
// TestNG is also supported by the Gradle Test task. Just change the
// testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
// 'test.useTestNG()' to your build script.
testCompile 'junit:junit:4.12'

compile 'commons-codec:commons-codec:1.5'
compile 'commons-lang:commons-lang:2.6'

compile project (':ShimmerDriver')
//compile project (':ShimmerAlgorithms')

/*
apiCompile 'commons-codec:commons-codec:1.5'

implCompile sourceSets.api.output
implCompile 'commons-lang:commons-lang:2.6'

testCompile 'junit:junit:4.9'
testCompile sourceSets.api.output
testCompile sourceSets.impl.output
runtime configurations.apiRuntime
runtime configurations.implRuntime

compile project (':ShimmerDriver')
compile project (':ShimmerAlgorithms')
*/
}

task wrapper(type: Wrapper) {
gradleVersion = '2.14.1' //version required
}
/*
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri("${buildDir}/repo"))

addFilter("main") { artifact, file -> artifact.name == project.name }
["api", "impl"].each { type ->
addFilter(type) { artifact, file -> artifact.name.endsWith("-$type") }

// We now have to map our configurations to the correct maven scope for each pom
["compile", "runtime"].each { scope ->
configuration = configurations[type + scope.capitalize()]
["main", type].each { pomName ->
pom(pomName).scopeMappings.addMapping 1, configuration, scope
}
}
}

}
}
}
*/
Loading