blob: 5e3fc7923690ed7180cf9047676d4f6db811c79b [file] [log] [blame] [edit]
ext.brltty = [:]
brltty.getProjectPath = { Project project ->
project.projectDir.path
}
String getProjectPath (Project project, String subpath) {
return brltty.getProjectPath(project) + File.separator + subpath
}
brltty.getAssetsPath = { Project project ->
return getProjectPath(project, brltty.native.assetsPath)
}
brltty.getJarsPath = { Project project ->
return getProjectPath(project, brltty.native.jarsPath)
}
brltty.getLibrariesPath = { Project project ->
return getProjectPath(project, brltty.native.librariesPath)
}
brltty.getABIPath = { Project project, String abi ->
brltty.getLibrariesPath(project) + File.separator + abi
}
apply from: "brltty-properties.gradle"
apply from: "brltty-build.gradle"
apply from: "brltty-help.gradle"