mirror of
https://github.com/Tribufu/TribufuJava
synced 2026-08-07 11:56:22 +00:00
Rename repository
This commit is contained in:
parent
d3b7b29e09
commit
36a288a70f
3 changed files with 7 additions and 6 deletions
|
|
@ -5,6 +5,7 @@ apply plugin: "com.diffplug.spotless"
|
|||
|
||||
group = "com.tribufu"
|
||||
version = "1.4.3"
|
||||
archivesBaseName = "Tribufu"
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
|
|
@ -50,7 +51,7 @@ if(hasProperty("target") && target == "android") {
|
|||
variant.outputs.each { output ->
|
||||
def outputFile = output.outputFile
|
||||
if (outputFile != null && outputFile.name.endsWith(".aar")) {
|
||||
def fileName = "${project.name}-${variant.baseName}-${version}.aar"
|
||||
def fileName = "${archivesBaseName}-${variant.baseName}-${version}.aar"
|
||||
output.outputFile = new File(outputFile.parent, fileName)
|
||||
}
|
||||
}
|
||||
|
|
@ -68,7 +69,7 @@ if(hasProperty("target") && target == "android") {
|
|||
task.dependsOn variant.javaCompile
|
||||
task.from variant.javaCompile.destinationDirectory
|
||||
task.destinationDirectory = project.file("${project.buildDir}/outputs/jar")
|
||||
task.archiveFileName = "${project.name}-${variant.baseName}-${version}.jar"
|
||||
task.archiveFileName = "${archivesBaseName}-${variant.baseName}-${version}.jar"
|
||||
artifacts.add("archives", task)
|
||||
}
|
||||
}
|
||||
|
|
@ -91,7 +92,7 @@ if(hasProperty("target") && target == "android") {
|
|||
publishing {
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
artifactId = "tribufu"
|
||||
artifactId = "Tribufu"
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue