Skip to content

Commit e146742

Browse files
committed
More JitPack config
1 parent e087e54 commit e146742

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

build.gradle

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,25 +69,21 @@ task sourcesJar(type: Jar) {
6969
classifier = 'sources'
7070
from 'src/main/java'
7171
}
72-
//
73-
//// TODO upload to bintray properly
74-
//
75-
//artifacts {
76-
// archives sourcesJar
77-
//}
78-
//
79-
//task createPom << {
80-
// pom {
81-
// project {
82-
// groupId 'tk.superl2'
83-
// artifactId 'libepimetheus'
84-
// version '1.0'
85-
// inceptionYear '2017'
86-
// licenses {
87-
// license {
88-
// name 'GPL-3.0'
89-
// }
90-
// }
91-
// }
92-
// }.writeTo('build/pom.xml')
93-
//}
72+
73+
artifacts {
74+
archives sourcesJar
75+
}
76+
77+
install {
78+
repositories.mavenInstaller {
79+
pom.project {
80+
licenses {
81+
license {
82+
name 'GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007'
83+
url 'https://www.gnu.org/licenses/gpl-3.0.en.html'
84+
distribution 'repo'
85+
}
86+
}
87+
}
88+
}
89+
}

0 commit comments

Comments
 (0)