We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f31ac8 commit beaacb9Copy full SHA for beaacb9
build.gradle
@@ -3,6 +3,7 @@ repositories{
3
}
4
5
apply plugin: 'java'
6
+apply plugin: 'maven'
7
8
sourceSets{
9
main{
@@ -27,3 +28,23 @@ jar {
27
28
from configurations.compile.collect { zipTree it }
29
manifest.attributes 'Main-Class' : 'com.redomar.game.Launcher'
30
31
+
32
+task createPom {
33
+ pom {
34
+ project {
35
+ groupId 'com.redomar.game'
36
+ artifactId 'javagame'
37
+ version 'Alpha 1.8.4'
38
39
+ inceptionYear '2013'
40
+ licenses {
41
+ license {
42
+ name 'GNU AFFERO GENERAL PUBLIC LICENSE 3.0'
43
+ url 'https://www.gnu.org/licenses/agpl-3.0.txt'
44
+ distribution 'repo'
45
+ }
46
47
48
49
+ }.writeTo("pom.xml")
50
+}
0 commit comments