Skip to content

Commit

Permalink
gradle settings with javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
NoNews committed Dec 18, 2017
1 parent a0bce7a commit 57ddb00
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
Empty file modified gradlew 100644 → 100755
Empty file.
6 changes: 6 additions & 0 deletions library/build.gradle
Expand Up @@ -27,6 +27,12 @@ android {
}
}

tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
Expand Down
24 changes: 14 additions & 10 deletions sample/build.gradle
Expand Up @@ -18,25 +18,29 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
lintOptions {
abortOnError false
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.1.0'
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:26.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:design:26.1.0'

compile project(':library')
compile 'com.github.markomilos:paginate:0.5.1'
compile 'com.android.support:design:26.1.0'
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
// implementation project(':library')
implementation 'ru.alexbykov:nopaginate:0.4.4'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'


}
Expand Up @@ -24,7 +24,7 @@ public MainActivityPresenter(IMainActivityView view) {
}

private void addItems() {
view.addItems(MockUtils.getStartItems());
view.addItems(MockUtils.getMockItems());
}


Expand Down

0 comments on commit 57ddb00

Please sign in to comment.