Skip to content
Merged
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
16 changes: 11 additions & 5 deletions ShimmerBluetoothManager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repositories {
mavenCentral()
mavenLocal()
}
/*

publishing {
publications {
mavenJava(MavenPublication) {
Expand All @@ -41,14 +41,20 @@ publishing {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ShimmerEngineering/Shimmer-Java-Android-API")
credentials {
// Create github.properties in root project folder file with gpr.usr=GITHUB_USER_ID & gpr.key=PERSONAL_ACCESS_TOKEN
username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
/* 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")
}
}
}
}
*/


dependencies {
compile 'commons-codec:commons-codec:1.5'
Expand Down
22 changes: 13 additions & 9 deletions ShimmerDriver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ publishing {
}
*/

/*
publishing {
publications {
mavenJava(MavenPublication) {
Expand All @@ -46,10 +45,10 @@ publishing {
version = '0.10.0_alpha' // Replace with your package version

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

Expand All @@ -59,14 +58,19 @@ publishing {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ShimmerEngineering/Shimmer-Java-Android-API")
credentials {
// Create github.properties in root project folder file with gpr.usr=GITHUB_USER_ID & gpr.key=PERSONAL_ACCESS_TOKEN
username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
/* 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")
}
}
}
}
*/

dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
Expand Down
14 changes: 9 additions & 5 deletions ShimmerDriverPC/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ test {
exclude '**/API_00001_ShimmerPC_GeneralBluetoothShimmer2R.class'
}

/*
publishing {
publications {
mavenJava(MavenPublication) {
Expand All @@ -53,14 +52,19 @@ publishing {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ShimmerEngineering/Shimmer-Java-Android-API")
credentials {
// Create github.properties in root project folder file with gpr.usr=GITHUB_USER_ID & gpr.key=PERSONAL_ACCESS_TOKEN
username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
/* 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")
}
}
}
}
*/

// In this section you declare the dependencies for your production and test code
dependencies {
Expand Down
32 changes: 24 additions & 8 deletions ShimmerPCBasicExamples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,30 @@
// Apply the java plugin to add support for Java
apply plugin: 'java'

sourceCompatibility = 1.8

// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
flatDir {
dirs 'libs'
}
maven {
url "http://dl.bintray.com/jongchern/testshimmer"
dirs 'libs'
}
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")
}
}
}

Expand All @@ -34,9 +48,11 @@ dependencies {
// 'test.useTestNG()' to your build script.
testCompile 'junit:junit:4.12'

compile project (':ShimmerDriver')
compile project (':ShimmerDriverPC')
// compile project (':ShimmerDriver')
// compile project (':ShimmerDriverPC')
compile(group: 'com.shimmerresearch', name: 'shimmerdriver', version: '0.10.0_alpha')
compile(group: 'com.shimmerresearch', name: 'shimmerdriverpc', version: '0.10.0_alpha')

compile name: 'ShimmerBiophysicalProcessingLibrary_Rev_0_11'
//compile 'com.shimmerresearch.driver:ShimmerDriver:0.4'
//compile 'com.shimmerresearch.pcdriver:ShimmerDriverPC:1.0'

}