-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish the Gradle plugin to the Gradle Plugin Portal (Fixes #45)
- Loading branch information
Showing
3 changed files
with
45 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Jsign Gradle Plugin | ||
------------------- | ||
|
||
Deployment procedure: | ||
* Publish the new version of jsign-core to Maven Central | ||
* Add the API key from https://plugins.gradle.org in `~/.gradle/gradle.properties` | ||
* Update the version in `build.gradle` | ||
* Run: `gradle publishPlugins` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,33 @@ | ||
buildscript { | ||
repositories { | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
} | ||
dependencies { | ||
classpath "com.gradle.publish:plugin-publish-plugin:0.9.7" | ||
} | ||
} | ||
|
||
apply plugin: "java" | ||
apply plugin: "com.gradle.plugin-publish" | ||
|
||
repositories { | ||
mavenLocal() | ||
} | ||
|
||
dependencies { | ||
compile gradleApi() | ||
compile 'net.jsign:jsign-core:2.0' | ||
} | ||
|
||
pluginBundle { | ||
website = 'https://ebourg.github.io/jsign/' | ||
vcsUrl = 'https://github.com/ebourg/jsign' | ||
|
||
description = 'Code signing for Windows executables, Microsoft Installers, Cabinet files, Windows packages and scripts' | ||
|
||
plugins { | ||
jsignPlugin { | ||
id = 'net.jsign' | ||
displayName = 'Gradle Jsign plugin' | ||
tags = ['signing'] | ||
version = '2.0' | ||
} | ||
} | ||
} | ||
plugins { | ||
id 'java' | ||
id 'com.gradle.plugin-publish' version '1.2.0' | ||
} | ||
|
||
group = 'net.jsign' | ||
version = '5.0' | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation gradleApi() | ||
implementation "net.jsign:jsign-core:$version" | ||
} | ||
|
||
tasks.withType(Copy).all { duplicatesStrategy 'exclude' } | ||
|
||
gradlePlugin { | ||
website = 'https://ebourg.github.io/jsign/' | ||
vcsUrl = 'https://github.com/ebourg/jsign' | ||
|
||
plugins { | ||
jsignPlugin { | ||
id = 'net.jsign' | ||
displayName = 'Jsign Gradle plugin' | ||
description = 'Sign and timestamp Windows executable files, Microsoft Installers (MSI), Cabinet files (CAB), Catalog files (CAT), Windows packages (APPX/MSIX) or scripts (PowerShell, VBScript, JScript, WSF)' | ||
tags.set(['signing', 'code-signing', 'authenticode', 'signtool']) | ||
implementationClass = 'net.jsign.JsignGradlePlugin' | ||
} | ||
} | ||
} |