From 33c684a29edce712a4a787471ad6a1721ff73379 Mon Sep 17 00:00:00 2001 From: Dierk Koenig Date: Sun, 30 Aug 2015 18:04:42 +0200 Subject: trying to publishPlugins to the gradle plugin portal. Currently fails because of signing issues. --- build.gradle | 34 ++++++++++++++++++++++ .../META-INF/gradle-plugins/frege.properties | 1 - .../gradle-plugins/org.frege-lang.properties | 1 + 3 files changed, 35 insertions(+), 1 deletion(-) delete mode 100644 src/main/resources/META-INF/gradle-plugins/frege.properties create mode 100644 src/main/resources/META-INF/gradle-plugins/org.frege-lang.properties 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' + } + } +} diff --git a/src/main/resources/META-INF/gradle-plugins/frege.properties b/src/main/resources/META-INF/gradle-plugins/frege.properties deleted file mode 100644 index 25a44ac..0000000 --- a/src/main/resources/META-INF/gradle-plugins/frege.properties +++ /dev/null @@ -1 +0,0 @@ -implementation-class=frege.gradle.FregePlugin diff --git a/src/main/resources/META-INF/gradle-plugins/org.frege-lang.properties b/src/main/resources/META-INF/gradle-plugins/org.frege-lang.properties new file mode 100644 index 0000000..25a44ac --- /dev/null +++ b/src/main/resources/META-INF/gradle-plugins/org.frege-lang.properties @@ -0,0 +1 @@ +implementation-class=frege.gradle.FregePlugin -- cgit From 52ade40191db0f47260d2875a073f68e2277474f Mon Sep 17 00:00:00 2001 From: Mark Perry Date: Thu, 3 Sep 2015 21:02:27 +1000 Subject: Use release 0.1 --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index fcbcf78..6e3ba93 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,12 @@ buildscript { repositories { + mavenLocal() mavenCentral() } dependencies { classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3" + classpath "com.github.mperry:frege-gradle-release-plugin:0.1" } } @@ -12,6 +14,7 @@ apply plugin: "groovy" apply plugin: "maven" apply plugin: "signing" apply plugin: 'io.codearte.nexus-staging' +apply plugin: 'frege-release' defaultTasks "build" -- cgit From 2008f1844f4b73f31eee8c12bbec444b5b97e69b Mon Sep 17 00:00:00 2001 From: Dierk Koenig Date: Thu, 3 Sep 2015 23:53:55 +0200 Subject: upgrade to frege version 3.23 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 38b30a1..ad2bac2 100644 --- a/build.gradle +++ b/build.gradle @@ -27,8 +27,8 @@ ext { snapshotAppendix = "-SNAPSHOT" projectVersion = baseVersion + (isSnapshot ? snapshotAppendix : "") - fregeBaseVersion = "3.22.524" - fregeClassifier = "-gcc99d7e" + fregeBaseVersion = "3.23.288" + fregeClassifier = "-gaa3af0c" fregeVersion = "$fregeBaseVersion$fregeClassifier" } -- cgit