Skip to content

Commit 856a286

Browse files
committed
add desc
1 parent 743bf5f commit 856a286

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ MvpAutoCodePlus
1212
特征
1313
----
1414
- 根据指定的父接口生成MVP Contract接口类.
15-
- 可选的根据生成的MVP Contract和指定的父类生成MVP实现类.
15+
- 可选的根据生成的MVP Contract和指定的父类生成MVP实现类,并添加抽象方法默认实现.
1616
- 支持Activity
1717
- 支持Fragment
1818
- 支持Presenter

build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ plugins {
1515
}
1616

1717
group 'com.longforus'
18-
version '1.0-beta2'
18+
version '1.0'
19+
1920

20-
apply plugin: 'java'
2121
apply plugin: 'kotlin'
2222
apply plugin: 'org.jetbrains.intellij'
2323

@@ -58,10 +58,7 @@ publishPlugin {
5858
password publishPassword
5959
}
6060

61-
62-
63-
6461
//指定编译的编码
6562
tasks.withType(JavaCompile){
6663
options.encoding = "UTF-8"
67-
}
64+
}

src/main/resources/META-INF/plugin.xml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,19 @@
2020
<p><b>Features:</b>
2121
<ul>
2222
<li>Automatically generate Contract Interface based on the specified super Interface.</li>
23-
<li>Automatically generate implements class based on the Contract Interface and specified superclass.</li>
23+
<li>Automatically generate implements class based on the Contract Interface and specified superclass.Add the default implementation of the abstract method.</li>
2424
<li>Supports generics(currently only have M,V,P).</li>
2525
<li>Supports Java and Kotlin.</li>
2626
</ul>
27+
</p>
28+
<p>
29+
<b>特征:</b>
30+
<ul>
31+
<li>根据指定的父接口生成Mvp Contract接口.</li>
32+
<li>根据生成的Contract接口和指定的父类生成接口的实现类,并生成抽象方法的默认实现.</li>
33+
<li>支持接口泛型.</li>
34+
<li>支持Java和Kotlin语言.</li>
35+
</ul>
2736
</p>
2837
<br/>
2938
<p><a href="https://github.com/longforus/MvpAutoCodePlus/issues">Send feedback</a></p>

0 commit comments

Comments
 (0)