Skip to content

Commit

Permalink
v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
FejZa committed Sep 27, 2024
1 parent 6492078 commit d4a2c87
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions Editor/InitializeAndroidExternalToolsSettingsTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit d4a2c87

Please sign in to comment.