Skip to content

Commit

Permalink
Merge pull request ehcache#696 from ljacomet/issue-691
Browse files Browse the repository at this point in the history
Issue ehcache#691 Specify encoding for compiler and javadoc
  • Loading branch information
lorban committed Dec 7, 2015
2 parents ecc9dbe + a3f1be5 commit 0341acd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,12 @@ configure(projectsToDeploy.collect {project(it)}) {
utils.pomFiller(pom, project.subPomName, project.subPomDesc)
}
}

allprojects {
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public interface ManagementProvider<T> {
* @param context the context.
* @param statisticNames the statistic names to collect.
* @param since The unix time in ms from where to return the statistics for statistics based on samples.
* @return the statistic map, the key being the statistic namesø.
* @return the statistic map, the key being the statistic names.
*/
Map<String, Statistic<?, ?>> collectStatistics(Context context, Collection<String> statisticNames, long since);

Expand Down

0 comments on commit 0341acd

Please sign in to comment.