File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
src/main/groovy/io/nextflow/gradle/registry Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,9 @@ nextflowPlugin {
3636 ]
3737
3838 publishing {
39- github {
40- repository = 'example-inc/nf-example'
41- userName = project.findProperty('github_username')
42- authToken = project.findProperty('github_access_token')
43- email = project.findProperty('github_commit_email')
44-
45- indexUrl = 'https://github.com/nextflow-io/plugins/main/plugins.json'
39+ registry {
40+ url = 'https://plugins.nextflow.io/api'
41+ authToken = project.findProperty('registry_access_token')
4642 }
4743 }
4844}
@@ -51,7 +47,7 @@ nextflowPlugin {
5147This will add some useful tasks to your Gradle build:
5248* ` assemble ` - compile the Nextflow plugin code and assemble it into a zip file
5349* ` installPlugin ` - copy the assembled plugin into your local Nextflow plugins dir
54- * ` releasePlugin ` - published the assembled plugin to a Github repository, and update the central plugins.json index repository
50+ * ` releasePlugin ` - publish the assembled plugin to the plugin registry
5551
5652You should also ensure that your project's ` settings.gradle ` declares the plugin name, eg:
5753``` gradle
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ class RegistryPublishConfig {
1010 /**
1111 * Location of the registry api
1212 */
13- // replace this with default registry url
14- String url = ' http://localhost:8080'
13+ String url = ' https://plugins.nextflow.io/api'
1514
1615 /**
1716 * Registry authentication token
You can’t perform that action at this time.
0 commit comments