mirror of
https://github.com/Tribufu/TribufuJava
synced 2026-08-08 20:31:07 +00:00
Rename repository
This commit is contained in:
parent
d3b7b29e09
commit
36a288a70f
3 changed files with 7 additions and 6 deletions
|
|
@ -9,7 +9,7 @@ Java SDK to access Tribufu APIs and services.
|
||||||
[mvn-badge]: https://img.shields.io/badge/releases-mvn-orange.svg
|
[mvn-badge]: https://img.shields.io/badge/releases-mvn-orange.svg
|
||||||
[mvn-url]: https://mvn.tribufu.com/#/releases/com/tribufu/Tribufu
|
[mvn-url]: https://mvn.tribufu.com/#/releases/com/tribufu/Tribufu
|
||||||
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
||||||
[mit-url]: https://github.com/tribufu/tribufu-java/blob/main/LICENSE.txt
|
[mit-url]: https://github.com/Tribufu/TribufuJava/blob/main/LICENSE.txt
|
||||||
[discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square
|
[discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square
|
||||||
[discord-url]: https://www.tribufu.com/discord
|
[discord-url]: https://www.tribufu.com/discord
|
||||||
|
|
||||||
|
|
@ -20,4 +20,4 @@ Java SDK to access Tribufu APIs and services.
|
||||||
|
|
||||||
This project is licensed under the [MIT License].
|
This project is licensed under the [MIT License].
|
||||||
|
|
||||||
[MIT License]: https://github.com/tribufu/tribufu-java/blob/main/LICENSE.txt
|
[MIT License]: https://github.com/Tribufu/TribufuJava/blob/main/LICENSE.txt
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ apply plugin: "com.diffplug.spotless"
|
||||||
|
|
||||||
group = "com.tribufu"
|
group = "com.tribufu"
|
||||||
version = "1.4.3"
|
version = "1.4.3"
|
||||||
|
archivesBaseName = "Tribufu"
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
|
@ -50,7 +51,7 @@ if(hasProperty("target") && target == "android") {
|
||||||
variant.outputs.each { output ->
|
variant.outputs.each { output ->
|
||||||
def outputFile = output.outputFile
|
def outputFile = output.outputFile
|
||||||
if (outputFile != null && outputFile.name.endsWith(".aar")) {
|
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)
|
output.outputFile = new File(outputFile.parent, fileName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -68,7 +69,7 @@ if(hasProperty("target") && target == "android") {
|
||||||
task.dependsOn variant.javaCompile
|
task.dependsOn variant.javaCompile
|
||||||
task.from variant.javaCompile.destinationDirectory
|
task.from variant.javaCompile.destinationDirectory
|
||||||
task.destinationDirectory = project.file("${project.buildDir}/outputs/jar")
|
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)
|
artifacts.add("archives", task)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -91,7 +92,7 @@ if(hasProperty("target") && target == "android") {
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
artifactId = "tribufu"
|
artifactId = "Tribufu"
|
||||||
from components.java
|
from components.java
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
rootProject.name = "tribufu"
|
rootProject.name = "TribufuJava"
|
||||||
|
|
||||||
include("example")
|
include("example")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue