Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,14 @@ def commonNuspecMetadata = [
dependencies: []
]

def commonNuspecMetadataClosures = [
{d -> delegate.license(type: 'expression', 'Apache-2.0') }
]

// nuget package for upload to nuget
nugetSpec {
nuspec = [
metadata: commonNuspecMetadata + [
metadata: commonNuspecMetadataClosures + commonNuspecMetadata + [
id: archivesBaseName,
description: '''ILRepack is meant at replacing ILMerge / Mono.Merge.
The former being closed-source, impossible to customize, slow, resource consuming and many more. The later being deprecated, unsupported, and based on an old version of Mono.Cecil.''',
Expand All @@ -97,7 +101,7 @@ nugetSpec {

task nugetSpecLib(type: com.ullink.NuGetSpec) {
nuspec = [
metadata: commonNuspecMetadata + [
metadata: commonNuspecMetadataClosures + commonNuspecMetadata + [
id: archivesBaseName+'.Lib',
description: '''ILRepack is meant at replacing ILMerge / Mono.Merge.
The former being closed-source, impossible to customize, slow, resource consuming and many more. The later being deprecated, unsupported, and based on an old version of Mono.Cecil.
Expand Down