Skip to content

Commit

Permalink
上传android依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
zzg080643 committed May 27, 2020
1 parent 0eb822f commit 566ac9e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 26 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ The primary scenario:
```
import 'package:dna/dna.dart';
```
3. Add gradle dependency in Android project:

```
implementation 'me.ele:dna-annotations:1.2.0'
annotationProcessor 'me.ele:dna-compiler:1.2.0'
```

## Usage

Expand Down
9 changes: 9 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ dependencies:

```
import 'package:dna/dna.dart';

```

3.在android项目中引入依赖

```
implementation 'me.ele:dna-annotations:1.2.0'
annotationProcessor 'me.ele:dna-compiler:1.2.0'

```


Expand Down
13 changes: 0 additions & 13 deletions android/src/main/java/me/ele/dna/annotation/DnaField.java

This file was deleted.

13 changes: 0 additions & 13 deletions android/src/main/java/me/ele/dna/annotation/DnaMethod.java

This file was deleted.

0 comments on commit 566ac9e

Please sign in to comment.