Skip to content

Commit

Permalink
Prepare for release 0.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaroclapp committed Jul 28, 2020
1 parent 02ca552 commit 01f7416
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Changelog
=========

Version 0.8.0
--------------
* Improve suppression of subcheckers, using full AST path (#392)
* Support null implies false library models (#394)
* Make `@ChecksForNull` an alias for `@Nullable` (#397)
* Fix: android-jar.py's exit code. (#399)
* Upgrade Error Prone dependencies to 2.4.0. (#400)
- And fix detected issues (#403, #404)
* Allow library models of the form null param -> null return (#407)
* Make excluded class annotations work on nested classes (#412)
* Improved Map handling: Strings and integers. (#413)
* Also `-SNAPSHOT` builds are being published correctly again (#409)
* New android-jarinfer-models-sdk29 artifact for Android 10

Version 0.7.10
--------------
* Add Java 8 streams nullness-propagation support (#371)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ plugins {
}
dependencies {
annotationProcessor "com.uber.nullaway:nullaway:0.7.10"
annotationProcessor "com.uber.nullaway:nullaway:0.8.0"
// Optional, some source of nullability annotations.
// Not required on Android if you use the support
Expand Down Expand Up @@ -75,7 +75,7 @@ The configuration for an Android project is very similar to the Java case, with

```gradle
dependencies {
annotationProcessor "com.uber.nullaway:nullaway:0.7.10"
annotationProcessor "com.uber.nullaway:nullaway:0.8.0"
errorprone "com.google.errorprone:error_prone_core:2.4.0"
errorproneJavac "com.google.errorprone:javac:9+181-r4173-1"
}
Expand Down
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
2. Get a copy of the AOSP `framework_intermediates` for the corresponding Android version.
2a. At Uber? http://t.uber.com/aosp_framework_intermediate
2b. Elsewhere? You can still build the corresponding AOSP version and look for
out/target/common/obj/JAVA_LIBRARIES/framework_intermediate/**
out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/**
3. (first time) `cp jar-infer/scripts/android-jar.conf.template jar-infer/scripts/android-jar.conf`
4. Set the correct paths and versions in `android-jar.conf`
5. `rm jar-infer/android-jarinfer-models-sdk28/src/main/resources/jarinfer.astubx` (for SDK 28)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# org.gradle.parallel=true

GROUP=com.uber.nullaway
VERSION_NAME=0.7.11-SNAPSHOT
VERSION_NAME=0.8.0

POM_DESCRIPTION=A fast annotation-based null checker for Java

Expand Down
14 changes: 14 additions & 0 deletions jar-infer/android-jarinfer-models-sdk29/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
plugins {
id "java"
}

sourceCompatibility = 1.8

repositories {
mavenCentral()
}

dependencies {
}

apply from: rootProject.file("gradle/gradle-mvn-push.gradle")
19 changes: 19 additions & 0 deletions jar-infer/android-jarinfer-models-sdk29/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright (C) 2017. Uber Technologies
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

POM_NAME=JarInferAndroidModelsSDK29
POM_ARTIFACT_ID=android-jarinfer-models-sdk29
POM_PACKAGING=jar
Binary file not shown.
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ include ':test-java-lib'
include ':test-library-models'
include ':compile-bench'
include ':jar-infer:android-jarinfer-models-sdk28'
include ':jar-infer:android-jarinfer-models-sdk29'
include ':jar-infer:jar-infer-lib'
include ':jar-infer:jar-infer-cli'
include ':jar-infer:test-java-lib-jarinfer'
Expand Down

0 comments on commit 01f7416

Please sign in to comment.