Skip to content
Open
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
8 changes: 7 additions & 1 deletion example/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@ object.plugins.android.each { androidPlugin ->
if(androidPlugin.name == 'nordic_nrf_mesh'){
println 'should include forked Nordic\'s ADK v3'
def meshLibPath = androidPlugin.path.replace('android', '') + 'Android-nRF-Mesh-Library-1\\mesh\\'
if (System.properties['os.name'].toLowerCase().contains('windows')) {
println "detected running on Windows"
} else {
println "detected running on non Windows (linux or mac)"
meshLibPath = meshLibPath.replace('\\', '/')
}
println 'meshLibPath = ' + meshLibPath
include ':mesh'
project(':mesh').projectDir = file(meshLibPath)
}
}
}