Skip to content

Commit 63e0acb

Browse files
committed
bump version to "1.0.2"
1 parent 3f5d452 commit 63e0acb

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

build.gradle

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group 'cn.alapi'
10-
version '1.0.1'
10+
version '1.0.2'
1111

1212
repositories {
1313
mavenCentral()
@@ -32,28 +32,13 @@ task sourceJar(type: Jar) {
3232
from sourceSets.main.allJava
3333
}
3434

35-
task javadocJar(type: Jar, dependsOn: javadoc) {
35+
task javadocJar(type: Jar) {
3636
classifier "javadoc"
37-
from javadoc.destinationDir
37+
from javadoc
3838
}
3939

4040
javadoc {
41-
description = "生成jar格式的javadoc。"
42-
// 只显示 protected 和 public 的类和成员
43-
options.memberLevel = JavadocMemberLevel.PROTECTED
44-
options.author = true
45-
options.version = true
46-
options.header = project.name
47-
// 静默javadoc检查(比如不支持@date会报错等),jdk 8+
48-
options.addStringOption('Xdoclint:none', '-quiet')
49-
// 防止本地打开中文乱码
50-
options.addStringOption("charset", "UTF-8")
51-
// suppress warnings due to cross-module @see and @link references;
52-
// note that global 'api' task does display all warnings.
53-
logging.captureStandardError LogLevel.INFO
54-
// suppress "## warnings" message
55-
logging.captureStandardOutput LogLevel.INFO
56-
// 编码一定要配置否则直接出错
41+
description = "Java SDK for ALAPI"
5742
options.encoding = "UTF-8"
5843
options.charSet = "UTF-8"
5944
}
@@ -63,7 +48,7 @@ publishing {
6348
mavenJava(MavenPublication) {
6449
groupId = 'cn.alapi'
6550
artifactId = 'javasdk'
66-
version = '1.0.1'
51+
version = '1.0.2'
6752
from components.java
6853

6954
artifact sourceJar

0 commit comments

Comments
 (0)