Update build.gradle
This commit is contained in:
parent
397f24a3f3
commit
6a8cd69697
1 changed files with 24 additions and 0 deletions
24
build.gradle
24
build.gradle
|
@ -85,10 +85,34 @@ task sourcesJar(type: Jar, dependsOn: classes) {
|
|||
from sourceSets.main.allSource
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||
classifier = 'javadoc'
|
||||
from javadoc.destinationDir
|
||||
}
|
||||
|
||||
jar {
|
||||
from "LICENSE"
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives javadocJar
|
||||
}
|
||||
|
||||
install {
|
||||
repositories.mavenInstaller {
|
||||
pom.project {
|
||||
licenses {
|
||||
license {
|
||||
name 'MIT License'
|
||||
url 'https://raw.githubusercontent.com/paulevsGitch/BCLib/main/LICENSE'
|
||||
distribution 'repo'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// configure the maven publication
|
||||
//publishing {
|
||||
// publications {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue