Skip to content

Commit 8ac3867

Browse files
committed
Fix a few minor problems
1 parent c609598 commit 8ac3867

13 files changed

+77
-32
lines changed

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015, Minecrell <https://github.com/LapisBlue>
1+
Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

Diff for: build.gradle

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,18 @@
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-
131
plugins {
2+
id 'java-gradle-plugin'
143
id 'groovy'
15-
id 'maven-publish'
164

175
id 'eclipse'
186
id 'idea'
197

8+
id 'maven-publish'
9+
id 'com.gradle.plugin-publish' version '0.9.0'
10+
2011
id 'com.github.hierynomus.license' version '0.11.0'
2112
}
2213

23-
apply plugin: 'com.gradle.plugin-publish'
24-
2514
group = 'net.minecrell'
26-
version = '0.1'
15+
version = '0.1.1'
2716
description = 'A Gradle plugin to manage patches for Git repositories'
2817

2918
sourceCompatibility = 1.6
@@ -34,7 +23,6 @@ repositories {
3423
}
3524

3625
dependencies {
37-
compile gradleApi()
3826
compile localGroovy()
3927

4028
compile('org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r') {

Diff for: settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rootProject.name = 'gitpitcher'
1+
rootProject.name = 'gitpatcher'

Diff for: src/main/groovy/net/minecrell/gitpatcher/GitPatcher.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, Minecrell <https://github.com/LapisBlue>
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
33
*
44
* Permission is hereby granted, free of charge, to any person obtaining a copy
55
* of this software and associated documentation files (the "Software"), to deal

Diff for: src/main/groovy/net/minecrell/gitpatcher/PatchExtension.groovy

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included in
12+
* all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
* THE SOFTWARE.
21+
*/
122
package net.minecrell.gitpatcher
223

324
class PatchExtension {

Diff for: src/main/groovy/net/minecrell/gitpatcher/git/MailPatch.groovy

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included in
12+
* all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
* THE SOFTWARE.
21+
*/
122
package net.minecrell.gitpatcher.git
223

324
import groovy.transform.EqualsAndHashCode

Diff for: src/main/groovy/net/minecrell/gitpatcher/git/Patcher.groovy

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/*
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
3+
*
4+
* Permission is hereby granted, free of charge, to any person obtaining a copy
5+
* of this software and associated documentation files (the "Software"), to deal
6+
* in the Software without restriction, including without limitation the rights
7+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
* copies of the Software, and to permit persons to whom the Software is
9+
* furnished to do so, subject to the following conditions:
10+
*
11+
* The above copyright notice and this permission notice shall be included in
12+
* all copies or substantial portions of the Software.
13+
*
14+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
* THE SOFTWARE.
21+
*/
122
package net.minecrell.gitpatcher.git
223

324
import static org.eclipse.jgit.revwalk.RevSort.REVERSE

Diff for: src/main/groovy/net/minecrell/gitpatcher/task/GitTask.groovy

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
* PoreGradle
3-
* Copyright (c) 2015, Lapis <https://github.com/LapisBlue>
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
43
*
54
* Permission is hereby granted, free of charge, to any person obtaining a copy
65
* of this software and associated documentation files (the "Software"), to deal

Diff for: src/main/groovy/net/minecrell/gitpatcher/task/SubmoduleTask.groovy

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
* PoreGradle
3-
* Copyright (c) 2015, Lapis <https://github.com/LapisBlue>
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
43
*
54
* Permission is hereby granted, free of charge, to any person obtaining a copy
65
* of this software and associated documentation files (the "Software"), to deal

Diff for: src/main/groovy/net/minecrell/gitpatcher/task/UpdateSubmodulesTask.groovy

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
* PoreGradle
3-
* Copyright (c) 2015, Lapis <https://github.com/LapisBlue>
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
43
*
54
* Permission is hereby granted, free of charge, to any person obtaining a copy
65
* of this software and associated documentation files (the "Software"), to deal

Diff for: src/main/groovy/net/minecrell/gitpatcher/task/patch/ApplyPatchesTask.groovy

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
* PoreGradle
3-
* Copyright (c) 2015, Lapis <https://github.com/LapisBlue>
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
43
*
54
* Permission is hereby granted, free of charge, to any person obtaining a copy
65
* of this software and associated documentation files (the "Software"), to deal

Diff for: src/main/groovy/net/minecrell/gitpatcher/task/patch/MakePatchesTask.groovy

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
* PoreGradle
3-
* Copyright (c) 2015, Lapis <https://github.com/LapisBlue>
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
43
*
54
* Permission is hereby granted, free of charge, to any person obtaining a copy
65
* of this software and associated documentation files (the "Software"), to deal

Diff for: src/main/groovy/net/minecrell/gitpatcher/task/patch/PatchTask.groovy

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
2-
* PoreGradle
3-
* Copyright (c) 2015, Lapis <https://github.com/LapisBlue>
2+
* Copyright (c) 2015, Minecrell <https://github.com/Minecrell>
43
*
54
* Permission is hereby granted, free of charge, to any person obtaining a copy
65
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)