diff options
author | Dierk Koenig <dierk.koenig@canoo.com> | 2015-08-30 18:04:42 +0200 |
---|---|---|
committer | Dierk Koenig <dierk.koenig@canoo.com> | 2015-08-30 18:04:42 +0200 |
commit | 33c684a29edce712a4a787471ad6a1721ff73379 (patch) | |
tree | ec4d2582e1f9307614a9ffc46f970bd0f9a2dfae /build.gradle | |
parent | 0fd74d0e77c44bb895e97319d1d8faaacc8a5448 (diff) | |
download | frege-gradle-plugin-33c684a29edce712a4a787471ad6a1721ff73379.tar.gz frege-gradle-plugin-33c684a29edce712a4a787471ad6a1721ff73379.tar.bz2 frege-gradle-plugin-33c684a29edce712a4a787471ad6a1721ff73379.zip |
trying to publishPlugins to the gradle plugin portal. Currently fails because of signing issues.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 1043f9c..cdb810b 100644 --- a/build.gradle +++ b/build.gradle @@ -55,3 +55,37 @@ nexusStaging { stagingProfileId = "a622b6773bea07" } +// First, apply the publishing plugin +buildscript { + repositories { + maven { + url "https://plugins.gradle.org/m2/" + } + } + dependencies { + classpath "com.gradle.publish:plugin-publish-plugin:0.9.1" + } +} + +// Details on how to publish to the gradle plugin portal +// Go to http://plugins.gradle.org, get yourself a publishing key +// and add it under ~/.gradle/gradle.properties +// For publishing, run the task publishPlugins. + +apply plugin: "com.gradle.plugin-publish" + +// The configuration example below shows the minimum required properties +// configured to publish your plugin to the plugin portal +pluginBundle { + website = 'https://github.com/Frege/frege-gradle-plugin' + vcsUrl = 'https://github.com/Frege/frege-gradle-plugin' + description = 'Enabling Frege for compilation, testing, documentation, and supporting tools.' + tags = ['frege', 'haskell', 'java'] + + plugins { + fregePlugin { + id = 'org.frege-lang' + displayName = 'Frege plugin' + } + } +} |