Browse Source

Merge pull request #213 from Netflix/adrian.source16-animalsniffer

Enforces source compatibility with animal-sniffer
pull/215/head
Adrian Cole 10 years ago
parent
commit
ca068eb991
  1. 3
      CHANGELOG.md
  2. 12
      build.gradle

3
CHANGELOG.md

@ -1,3 +1,6 @@ @@ -1,3 +1,6 @@
### Version 8.2
* Enforces source compatibility with animal-sniffer
### Version 8.1
* Allows `@Headers` to be applied to a type

12
build.gradle

@ -1,3 +1,10 @@ @@ -1,3 +1,10 @@
buildscript {
repositories { jcenter() }
dependencies {
classpath 'be.insaneprogramming.gradle:animalsniffer-gradle-plugin:1.4.0'
}
}
plugins {
id 'nebula.netflixoss' version '2.2.9'
}
@ -13,4 +20,9 @@ subprojects { @@ -13,4 +20,9 @@ subprojects {
jcenter()
}
group = "com.netflix.${githubProjectName}" // TEMPLATE: Set to organization of project
apply plugin: 'be.insaneprogramming.gradle.animalsniffer'
animalsniffer { // Don't use apis that may not be available on Android
signature = "org.codehaus.mojo.signature:java16:+@signature"
}
}

Loading…
Cancel
Save