3using System.Threading.Tasks;
5using Nuke.Cola.Tooling;
8using Nuke.Common.Tooling;
36 public static AndroidSdkVersion? GetSdkVersions(
string unrealVersion) => unrealVersion
switch
39 Jdk: 17, Sdk: 30, Target: 30,
40 Ndk:
new(21, 4, 7075529),
41 BuildTools:
new(30, 0, 3),
42 CMake:
new(3, 10, 2, 4988404)
45 Jdk: 17, Sdk: 32, Target: 32,
46 Ndk:
new(25, 1, 8937393),
47 BuildTools:
new(32, 0, 0),
48 CMake:
new(3, 10, 2, 4988404)
51 Jdk: 17, Sdk: 32, Target: 32,
52 Ndk:
new(25, 1, 8937393),
53 BuildTools:
new(32, 0, 0),
54 CMake:
new(3, 10, 2, 4988404)
57 Jdk: 17, Sdk: 33, Target: 33,
58 Ndk:
new(25, 1, 8937393),
59 BuildTools:
new(33, 0, 3),
60 CMake:
new(3, 10, 2, 4988404)
63 Jdk: 17, Sdk: 34, Target: 34,
64 Ndk:
new(25, 1, 8937393),
65 BuildTools:
new(34, 0, 0),
66 CMake:
new(3, 22, 1, 0)
69 Jdk: 17, Sdk: 34, Target: 34,
70 Ndk:
new(25, 1, 8937393),
71 BuildTools:
new(34, 0, 0),
72 CMake:
new(3, 22, 1, 0)
75 Jdk: 21, Sdk: 35, Target: 34,
76 Ndk:
new(27, 2, 12479018),
77 BuildTools:
new(35, 0, 1),
78 CMake:
new(3, 22, 1, 0)
81 Jdk: 21, Sdk: 35, Target: 34,
82 Ndk:
new(27, 2, 12479018),
83 BuildTools:
new(35, 0, 1),
84 CMake:
new(3, 22, 1, 0)
93 => GetSdkVersions(build)
94 .NotNull($
"Couldn't determine Android SDK/JDK/NDK versions for Unreal {Unreal.Version(build)} ")
104 public abstract AbsolutePath GetAndroidHome(
IUnrealBuild build);
105 public abstract AbsolutePath GetNdkPath(
IUnrealBuild build);
106 public abstract AbsolutePath GetBuildToolsPath(
IUnrealBuild build);
107 public abstract AbsolutePath GetPlatformToolsPath(
IUnrealBuild build);
109 public abstract ToolEx GetApkSigner(
IUnrealBuild build);
string VersionMinor
Only the Major.Minor version components, with extra information trimmed.
A collection of utilities around basic functions regarding the environment of the Engine we're workin...
static EngineVersion Version(IUnrealBuild build)
Get high-level version of currently used Engine.
Base interface for build components which require an UnrealBuild main class.