From 0d868d3208464798cc399c970a1fdb07c41a8f3b Mon Sep 17 00:00:00 2001 From: aMarCruz Date: Wed, 10 Oct 2018 12:55:36 -0500 Subject: [PATCH] v2.0.1 --- CHANGELOG.md | 4 ++++ android/build.gradle | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e200262..686d686 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [2.0.1] - 2018-10-09 +### Fixed +- Fix error in build.gradle + ## [2.0.0] - 2018-10-09 This is the first version for Gradle 4.4 diff --git a/android/build.gradle b/android/build.gradle index 1288fd1..2780b62 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,7 +7,7 @@ def getPackageVersion() { } def getExtValue(prop, fallback) { - rootProject.ext.hasProperty(prop) ? rootProject.ext.get(prop) : fallback + return rootProject.ext.hasProperty(prop) ? rootProject.ext.get(prop) : fallback } def _buildToolsVersion = getExtValue('buildToolsVersion', '27.0.3') diff --git a/package.json b/package.json index 94e79bb..026c7a6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-cross-settings", "description": "React Native `Settings` module for both Android & iOS.", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "main": "./index.js", "typings": "./index.d.ts",