Skip to content

Commit c609598

Browse files
committed
Push to Gradle's plugin portal (not really working but meh)
1 parent 7e758e4 commit c609598

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

build.gradle

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
buildscript {
2+
repositories {
3+
maven {
4+
name = 'gradle-plugins'
5+
url = 'https://plugins.gradle.org/m2'
6+
}
7+
}
8+
dependencies {
9+
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.0'
10+
}
11+
}
12+
113
plugins {
214
id 'groovy'
315
id 'maven-publish'
@@ -8,8 +20,11 @@ plugins {
820
id 'com.github.hierynomus.license' version '0.11.0'
921
}
1022

23+
apply plugin: 'com.gradle.plugin-publish'
24+
1125
group = 'net.minecrell'
12-
version = '0.1-SNAPSHOT'
26+
version = '0.1'
27+
description = 'A Gradle plugin to manage patches for Git repositories'
1328

1429
sourceCompatibility = 1.6
1530
targetCompatibility = 1.6
@@ -62,6 +77,20 @@ publishing {
6277
}
6378
}
6479

80+
pluginBundle {
81+
website = 'https://github.com/Minecrell/gitpatcher'
82+
vcsUrl = website
83+
description = project.description
84+
tags = ['git']
85+
86+
plugins {
87+
gitpatcherPlugin {
88+
id = 'net.minecrell.gitpatcher'
89+
displayName = 'gitpatcher'
90+
}
91+
}
92+
}
93+
6594
task wrapper(type: Wrapper) {
6695
gradleVersion = '2.4'
6796
}

0 commit comments

Comments
 (0)