// Current versions are read from images/constants.yml via ConstantsYamlReader.

using System.Collections.Generic;

namespace Microsoft.Oryx.BuildScriptGenerator.DotNetCore
{
    public static class DotNetCoreSdkVersions
    {
        public const string DotNetCore11SdkVersion = "1.1.14";

        public const string DotNetCore21SdkVersion = "2.1.818";

        public const string DotNetCore22SdkVersion = "2.2.207";

        public const string DotNetCore30SdkVersion = "3.0.103";

        public const string DotNetCore31SdkVersion = "3.1.426";

        public const string DotNetCore50SdkVersion = "5.0.302";

        public const string DotNet50SdkVersion = "5.0.408";

        public const string DotNet60SdkVersion = "6.0.427";

        public const string DotNet60RtmSdkVersion = "6-0-100-rtm-21527-11";

        public const string DotNet70SdkVersion = "7.0.410";

        public static readonly List<string> RuntimeVersions = new List<string> { "3.0-debian-buster", "3.1-debian-bullseye", "3.1-debian-buster", "5.0-debian-buster", "6.0-debian-bullseye", "6.0-debian-buster", "7.0-debian-bullseye", "7.0-debian-buster", "8.0-debian-bullseye", "8.0-debian-bookworm", "9.0-debian-bookworm", "10.0-ubuntu-noble", "dynamic-debian-buster" };

        public static string DotNet80SdkVersion => ConstantsYamlReader.Get("DOTNET_SDK_80");

        public static string DotNet90SdkVersion => ConstantsYamlReader.Get("DOTNET_SDK_90");

        public static string DotNet100SdkVersion => ConstantsYamlReader.Get("DOTNET_SDK_100");
    }
}