Skip to content

Commit ca068eb

Browse files
committed
Merge pull request OpenFeign#213 from Netflix/adrian.source16-animalsniffer
Enforces source compatibility with animal-sniffer
2 parents 8eeb109 + 0ed8253 commit ca068eb

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### Version 8.2
2+
* Enforces source compatibility with animal-sniffer
3+
14
### Version 8.1
25
* Allows `@Headers` to be applied to a type
36

‎build.gradle‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
buildscript {
2+
repositories { jcenter() }
3+
dependencies {
4+
classpath 'be.insaneprogramming.gradle:animalsniffer-gradle-plugin:1.4.0'
5+
}
6+
}
7+
18
plugins {
29
id 'nebula.netflixoss' version '2.2.9'
310
}
@@ -13,4 +20,9 @@ subprojects {
1320
jcenter()
1421
}
1522
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
23+
apply plugin: 'be.insaneprogramming.gradle.animalsniffer'
24+
25+
animalsniffer { // Don't use apis that may not be available on Android
26+
signature = "org.codehaus.mojo.signature:java16:+@signature"
27+
}
1628
}

0 commit comments

Comments
 (0)