Easier adding library project as dependency

This commit is contained in:
Jiaming Lu
2017-09-21 12:10:11 +08:00
committed by ilmat192
parent e7bd89e263
commit 87d3c791f8
2 changed files with 27 additions and 0 deletions
+6
View File
@@ -233,6 +233,12 @@ For this project the task graph will be the following:
// *.klib library for linking.
library project.file('path/to/library')
// library project
library project(':lib')
// artifect in a library project
library(project(':lib'), 'artifectName')
// naitve library for linking.
nativeLibrary project.file('path/to/native/library/')