Skip to content

Commit ba75328

Browse files
committed
updated readme
1 parent 14757e4 commit ba75328

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,16 @@ Compile with java 8, add rxJava dependency of using rx DML functions in the tabl
279279
```gradle
280280
android {
281281
...
282+
defaultConfig {
283+
...
284+
javaCompileOptions {
285+
annotationProcessorOptions {
286+
arguments = [
287+
"promise.database.projectDir": "$projectDir".toString()
288+
]
289+
}
290+
}
291+
}
282292
compileOptions {
283293
sourceCompatibility JavaVersion.VERSION_1_8
284294
targetCompatibility JavaVersion.VERSION_1_8
@@ -292,6 +302,9 @@ dependencies {
292302
implementation 'com.github.android-promise:commons:1.1-alpha03'
293303
}
294304
```
305+
306+
> The projectDir specifies where object tree file will be stored
307+
295308
##### Initialization
296309
Initialize Promise in your main application class
297310
```java

0 commit comments

Comments
 (0)