Skip to content

Commit

Permalink
[*] removed doclint warnings from each build
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Oct 22, 2016
1 parent e3fb3fc commit 98f54b3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
8 changes: 8 additions & 0 deletions easydeviceinfo-ads/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
}

dependencies {
Expand Down
10 changes: 9 additions & 1 deletion easydeviceinfo-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,22 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
}

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

// compile "com.github.nisrulz:easydeviceinfo-common:$rootProject.ext.easyDeviceInfoVersionName"

compile project(':easydeviceinfo-common')
compile "com.android.support:support-annotations:$rootProject.ext.supportLibVersion"
}
Expand Down
8 changes: 8 additions & 0 deletions easydeviceinfo-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
}

dependencies {
Expand Down
8 changes: 8 additions & 0 deletions easydeviceinfo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
}

dependencies {
Expand Down

0 comments on commit 98f54b3

Please sign in to comment.