1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
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"
|