diff --git a/Build/.nuke/build.schema.json b/Build/.nuke/build.schema.json index ed84243..a8399f3 100644 --- a/Build/.nuke/build.schema.json +++ b/Build/.nuke/build.schema.json @@ -1,55 +1,240 @@ { "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/build", - "title": "Build Schema", "definitions": { - "build": { + "Host": { + "type": "string", + "enum": [ + "AppVeyor", + "AzurePipelines", + "Bamboo", + "Bitbucket", + "Bitrise", + "GitHubActions", + "GitLab", + "Jenkins", + "Rider", + "SpaceAutomation", + "TeamCity", + "Terminal", + "TravisCI", + "VisualStudio", + "VSCode" + ] + }, + "IssConfiguration": { "type": "object", + "description": "IssConfiguration", "properties": { - "ApplicationType": { - "type": "string" + "Title": { + "type": [ + "null", + "string" + ], + "description": "Title (default null)" + }, + "Image": { + "type": [ + "null", + "string" + ], + "description": "Image (default IMAGE)" + }, + "ImageSmall": { + "type": [ + "null", + "string" + ], + "description": "Small Image (default IMAGESMALL)" + }, + "Icon": { + "type": [ + "null", + "string" + ], + "description": "Icon (default ICON)" + }, + "Licence": { + "type": [ + "null", + "string" + ], + "description": "Licence (default LICENSE)" + }, + "Language": { + "description": "Language (default IssLanguage)", + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/IssLanguage" + } + ] }, + "IssLanguageLicences": { + "type": [ + "array", + "null" + ], + "description": "IssLanguages", + "items": { + "$ref": "#/definitions/IssLanguageLicence" + } + } + } + }, + "IssLanguage": { + "type": "object", + "description": "IssLanguage", + "properties": { + "Name": { + "type": [ + "null", + "string" + ], + "description": "Name (default \"en\")" + }, + "MessagesFile": { + "type": [ + "null", + "string" + ], + "description": "MessagesFile (default \"compiler:Default.isl\")" + } + } + }, + "IssLanguageLicence": { + "type": "object", + "description": "IssLanguageLicence", + "properties": { + "Name": { + "type": [ + "null", + "string" + ], + "description": "Name (default \"en\")" + }, + "MessagesFile": { + "type": [ + "null", + "string" + ], + "description": "MessagesFile (default \"compiler:Default.isl\")" + }, + "Licence": { + "type": [ + "null", + "string" + ], + "description": "Licence (default LICENSE)" + } + } + }, + "ExecutableTarget": { + "type": "string", + "enum": [ + "Build", + "Clean", + "Compile", + "GitPreRelease", + "GitRelease", + "Pack", + "PackageBuilder", + "PrePack", + "Release", + "Sign", + "TestLocal" + ] + }, + "Verbosity": { + "type": "string", + "description": "", + "enum": [ + "Verbose", + "Normal", + "Minimal", + "Quiet" + ] + }, + "NukeBuild": { + "properties": { "Continue": { "type": "boolean", "description": "Indicates to continue a previously failed build attempt" }, - "Folder": { - "type": "string" - }, - "GitHubToken": { - "type": "string", - "default": "Secrets must be entered via 'nuke :secrets [profile]'" - }, "Help": { "type": "boolean", "description": "Shows the help text for this build assembly" }, "Host": { - "type": "string", "description": "Host for execution. Default is 'automatic'", - "enum": [ - "AppVeyor", - "AzurePipelines", - "Bamboo", - "Bitbucket", - "Bitrise", - "GitHubActions", - "GitLab", - "Jenkins", - "Rider", - "SpaceAutomation", - "TeamCity", - "Terminal", - "TravisCI", - "VisualStudio", - "VSCode" - ] + "$ref": "#/definitions/Host" + }, + "NoLogo": { + "type": "boolean", + "description": "Disables displaying the NUKE logo" + }, + "Partition": { + "type": "string", + "description": "Partition to use on CI" + }, + "Plan": { + "type": "boolean", + "description": "Shows the execution plan (HTML)" + }, + "Profile": { + "type": "array", + "description": "Defines the profiles to load", + "items": { + "type": "string" + } + }, + "Root": { + "type": "string", + "description": "Root directory during build execution" + }, + "Skip": { + "type": "array", + "description": "List of targets to be skipped. Empty list skips all dependencies", + "items": { + "$ref": "#/definitions/ExecutableTarget" + } + }, + "Target": { + "type": "array", + "description": "List of targets to be invoked. Default is '{default_target}'", + "items": { + "$ref": "#/definitions/ExecutableTarget" + } + }, + "Verbosity": { + "description": "Logging verbosity during build execution. Default is 'Normal'", + "$ref": "#/definitions/Verbosity" + } + } + } + }, + "allOf": [ + { + "properties": { + "ApplicationType": { + "type": "string" + }, + "EnableForkedRepository": { + "type": "boolean" + }, + "Folder": { + "type": "string" + }, + "GitHubToken": { + "type": "string", + "default": "Secrets must be entered via 'nuke :secrets [profile]'" }, "InstallationFiles": { "type": "string" }, "IssConfiguration": { - "type": "string" + "$ref": "#/definitions/IssConfiguration" }, "MainName": { "type": "string" @@ -60,10 +245,6 @@ "NewVersions": { "type": "boolean" }, - "NoLogo": { - "type": "boolean", - "description": "Disables displaying the NUKE logo" - }, "NugetApiKey": { "type": "string", "default": "Secrets must be entered via 'nuke :secrets [profile]'" @@ -72,27 +253,12 @@ "type": "string", "default": "Secrets must be entered via 'nuke :secrets [profile]'" }, - "Partition": { - "type": "string", - "description": "Partition to use on CI" - }, - "Plan": { - "type": "boolean", - "description": "Shows the execution plan (HTML)" - }, "PreReleaseFilter": { "type": "array", "items": { "type": "string" } }, - "Profile": { - "type": "array", - "description": "Defines the profiles to load", - "items": { - "type": "string" - } - }, "ProjectNameFolder": { "type": "boolean" }, @@ -114,10 +280,6 @@ "ReleasePackageBuilder": { "type": "boolean" }, - "Root": { - "type": "string", - "description": "Root directory during build execution" - }, "SignFile": { "type": "string", "default": "Secrets must be entered via 'nuke :secrets [profile]'" @@ -126,50 +288,10 @@ "type": "string", "default": "Secrets must be entered via 'nuke :secrets [profile]'" }, - "Skip": { - "type": "array", - "description": "List of targets to be skipped. Empty list skips all dependencies", - "items": { - "type": "string", - "enum": [ - "Build", - "Clean", - "Compile", - "GitPreRelease", - "GitRelease", - "Pack", - "PackageBuilder", - "PrePack", - "Release", - "Sign", - "TestLocal" - ] - } - }, "Solution": { "type": "string", "description": "Path to a solution file that is automatically loaded" }, - "Target": { - "type": "array", - "description": "List of targets to be invoked. Default is '{default_target}'", - "items": { - "type": "string", - "enum": [ - "Build", - "Clean", - "Compile", - "GitPreRelease", - "GitRelease", - "Pack", - "PackageBuilder", - "PrePack", - "Release", - "Sign", - "TestLocal" - ] - } - }, "TestLocalBuildStopWhenFailed": { "type": "boolean" }, @@ -187,18 +309,11 @@ }, "VendorId": { "type": "string" - }, - "Verbosity": { - "type": "string", - "description": "Logging verbosity during build execution. Default is 'Normal'", - "enum": [ - "Minimal", - "Normal", - "Quiet", - "Verbose" - ] } } + }, + { + "$ref": "#/definitions/NukeBuild" } - } + ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 87c8026..727d736 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. 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). +## [0.8.0] / 2024-12-27 +### Features +- Remove support for `Revit 2017` and `Revit 2018`, remove `net46` target framework. + ## [0.7.1] / 2024-11-11 - 2024-11-19 ### Features - Support `tiff` files for icon. @@ -378,6 +382,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - First Release [vNext]: ../../compare/1.0.0...HEAD +[0.8.0]: ../../compare/0.7.1...0.8.0 [0.7.1]: ../../compare/0.7.0...0.7.1 [0.7.0]: ../../compare/0.6.2...0.7.0 [0.6.2]: ../../compare/0.6.1...0.6.2 diff --git a/Directory.Build.props b/Directory.Build.props index 787fd63..49a43c7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - 0.7.1 + 0.8.0-alpha \ No newline at end of file diff --git a/ricaun.Revit.UI.Example/ricaun.Revit.UI.Example.csproj b/ricaun.Revit.UI.Example/ricaun.Revit.UI.Example.csproj index 855d528..1e71996 100644 --- a/ricaun.Revit.UI.Example/ricaun.Revit.UI.Example.csproj +++ b/ricaun.Revit.UI.Example/ricaun.Revit.UI.Example.csproj @@ -13,14 +13,9 @@ - net46;net47;net48;net8.0-windows + net47;net48;net8.0-windows - - - 2017 - - 2019 diff --git a/ricaun.Revit.UI/ricaun.Revit.UI.csproj b/ricaun.Revit.UI/ricaun.Revit.UI.csproj index c58283d..6632f8d 100644 --- a/ricaun.Revit.UI/ricaun.Revit.UI.csproj +++ b/ricaun.Revit.UI/ricaun.Revit.UI.csproj @@ -13,14 +13,9 @@ - net46;net47;net48;net8.0-windows + net47;net48;net8.0-windows - - - 2017 - - 2019