diff --git a/CHANGELOG.md b/CHANGELOG.md index 5eebb09..d3d35f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.4] + +### Added + +- Add debug logs + ## [1.0.3] ### Changed diff --git a/Editor/InitializeAndroidExternalToolsSettingsTemplate.cs b/Editor/InitializeAndroidExternalToolsSettingsTemplate.cs index 37c0806..f97bc0b 100644 --- a/Editor/InitializeAndroidExternalToolsSettingsTemplate.cs +++ b/Editor/InitializeAndroidExternalToolsSettingsTemplate.cs @@ -10,23 +10,31 @@ public static void SetupAndroidToolsFromCmd() const string androidNdkPathArgumentName = "overrideAndroidNdkPath"; const string androidGradlePathArgumentName = "overrideAndroidGradlePath"; + UnityEngine.Debug.LogFormat("Current JDK path: {0}", AndroidExternalToolsSettings.jdkRootPath); if (Dinomite.AzurePipelines.Utilities.TryGetCommandLineArgumentValue(androidJdkPathArgumentName, out var androidJdkPath)) { + UnityEngine.Debug.LogFormat("Override JDK path: {0}", androidJdkPath); AndroidExternalToolsSettings.jdkRootPath = androidJdkPath; } + UnityEngine.Debug.LogFormat("Current SDK path: {0}", AndroidExternalToolsSettings.sdkRootPath); if (Dinomite.AzurePipelines.Utilities.TryGetCommandLineArgumentValue(androidSdkPathArgumentName, out var androidSdkPath)) { + UnityEngine.Debug.LogFormat("Override SDK path: {0}", androidSdkPath); AndroidExternalToolsSettings.sdkRootPath = androidSdkPath; } + UnityEngine.Debug.LogFormat("Current NDK path: {0}", AndroidExternalToolsSettings.ndkRootPath); if (Dinomite.AzurePipelines.Utilities.TryGetCommandLineArgumentValue(androidNdkPathArgumentName, out var androidNdkPath)) { + UnityEngine.Debug.LogFormat("Override NDK path: {0}", androidNdkPath); AndroidExternalToolsSettings.ndkRootPath = androidNdkPath; } + UnityEngine.Debug.LogFormat("Current gradle path: {0}", AndroidExternalToolsSettings.gradlePath); if (Dinomite.AzurePipelines.Utilities.TryGetCommandLineArgumentValue(androidGradlePathArgumentName, out var androidGradlePath)) { + UnityEngine.Debug.LogFormat("Override gradle path: {0}", androidGradlePath); AndroidExternalToolsSettings.gradlePath = androidGradlePath; } diff --git a/package.json b/package.json index a71d78f..61e24ee 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "games.dinomite.azurepipelines", "displayName": "Dinomite.AzurePipelines", "description": "A Unity package containing build scripts for use with the Unity Tools for Azure DevOps extension.", - "version": "1.0.3", + "version": "1.0.4", "unity": "2018.0", "author": "Dinomite", "keywords": [