Difference between revisions of "Binaries and downloads"

From Neurotech Software Development Kit
Jump to: navigation, search
(Extended SDK versions)
(Extended SDK versions)
Line 44: Line 44:
 
   }
 
   }
 
}
 
}
 +
</syntaxhighlight>
 +
 +
To link Extended SDK library to your project add following line to your dependencies list
 +
<syntaxhighlight lang='bash'>
 +
compile 'com.neuromd.neurosdk:neuro-sdk-ext:0.16.1'
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 02:38, 11 May 2018

Current stable version is 0.16

Android

Standard and extended versions of SDK have different ways of publishing libraries

Base version of SDK

You are able to get neuro-sdk for Android development through JitPack or by downloading latest aar library from direct link

JitPack

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}


Step 2. Add the dependency

	dependencies {
		implementation 'com.github.NeuroMD:neuro-sdk:0.16'
	}

That's it! The first time you request a project JitPack checks out the code, builds it and serves the build artifacts.

Binaries download links

Following links could be used to obtain SDK libraries

File:Libneurosdk-release.aar

Extended SDK versions

Extended SDK binaries could be obtained from JCenter repository. To use it, check if you have following lines in gradle script of your project

allprojects {
    repositories {
        jcenter()
   }
}

To link Extended SDK library to your project add following line to your dependencies list

compile 'com.neuromd.neurosdk:neuro-sdk-ext:0.16.1'