Skip to content

Commit 98f54b3

Browse files
committed
[*] removed doclint warnings from each build
1 parent e3fb3fc commit 98f54b3

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

easydeviceinfo-ads/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ android {
1616
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1717
}
1818
}
19+
20+
if (JavaVersion.current().isJava8Compatible()) {
21+
allprojects {
22+
tasks.withType(Javadoc) {
23+
options.addStringOption('Xdoclint:none', '-quiet')
24+
}
25+
}
26+
}
1927
}
2028

2129
dependencies {

easydeviceinfo-base/build.gradle

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,22 @@ android {
1616
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1717
}
1818
}
19+
20+
if (JavaVersion.current().isJava8Compatible()) {
21+
allprojects {
22+
tasks.withType(Javadoc) {
23+
options.addStringOption('Xdoclint:none', '-quiet')
24+
}
25+
}
26+
}
1927
}
2028

2129
dependencies {
2230
compile fileTree(include: ['*.jar'], dir: 'libs')
2331
testCompile 'junit:junit:4.12'
2432

2533
// compile "com.github.nisrulz:easydeviceinfo-common:$rootProject.ext.easyDeviceInfoVersionName"
26-
34+
2735
compile project(':easydeviceinfo-common')
2836
compile "com.android.support:support-annotations:$rootProject.ext.supportLibVersion"
2937
}

easydeviceinfo-common/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ android {
1616
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1717
}
1818
}
19+
20+
if (JavaVersion.current().isJava8Compatible()) {
21+
allprojects {
22+
tasks.withType(Javadoc) {
23+
options.addStringOption('Xdoclint:none', '-quiet')
24+
}
25+
}
26+
}
1927
}
2028

2129
dependencies {

easydeviceinfo/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ android {
4141
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4242
}
4343
}
44+
45+
if (JavaVersion.current().isJava8Compatible()) {
46+
allprojects {
47+
tasks.withType(Javadoc) {
48+
options.addStringOption('Xdoclint:none', '-quiet')
49+
}
50+
}
51+
}
4452
}
4553

4654
dependencies {

0 commit comments

Comments
 (0)