mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-26 16:51:50 +01:00
Release v0.1.0
This commit is contained in:
parent
e33b11bdf1
commit
19649f89bf
@ -74,10 +74,10 @@ sourceSets {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// should be bumped with each stable release
|
// should be bumped with each stable release
|
||||||
val tachideskVersion = System.getenv("ProductVersion") ?: "v0.4.3"
|
val inspectorVersion = "v0.1.0"
|
||||||
|
|
||||||
// counts commit count on master
|
// counts commit count on master
|
||||||
val tachideskRevision = runCatching {
|
val inspectorRevision = runCatching {
|
||||||
System.getenv("ProductRevision") ?: Runtime
|
System.getenv("ProductRevision") ?: Runtime
|
||||||
.getRuntime()
|
.getRuntime()
|
||||||
.exec("git rev-list HEAD --count")
|
.exec("git rev-list HEAD --count")
|
||||||
@ -95,10 +95,9 @@ buildConfig {
|
|||||||
clsName = "BuildConfig"
|
clsName = "BuildConfig"
|
||||||
packageName = "suwayomi.server"
|
packageName = "suwayomi.server"
|
||||||
|
|
||||||
|
|
||||||
buildConfigField("String", "NAME", rootProject.name)
|
buildConfigField("String", "NAME", rootProject.name)
|
||||||
buildConfigField("String", "VERSION", tachideskVersion)
|
buildConfigField("String", "VERSION", inspectorVersion)
|
||||||
buildConfigField("String", "REVISION", tachideskRevision)
|
buildConfigField("String", "REVISION", inspectorRevision)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
@ -108,15 +107,15 @@ tasks {
|
|||||||
mapOf(
|
mapOf(
|
||||||
"Main-Class" to MainClass,
|
"Main-Class" to MainClass,
|
||||||
"Implementation-Title" to rootProject.name,
|
"Implementation-Title" to rootProject.name,
|
||||||
"Implementation-Vendor" to "The Suwayomi Project",
|
"Implementation-Vendor" to "The Tachiyomi Open Source Project",
|
||||||
"Specification-Version" to tachideskVersion,
|
"Specification-Version" to inspectorVersion,
|
||||||
"Implementation-Version" to tachideskRevision
|
"Implementation-Version" to inspectorRevision
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
archiveBaseName.set(rootProject.name)
|
archiveBaseName.set(rootProject.name)
|
||||||
archiveVersion.set(tachideskVersion)
|
archiveVersion.set(inspectorVersion)
|
||||||
archiveClassifier.set(tachideskRevision)
|
archiveClassifier.set(inspectorRevision)
|
||||||
}
|
}
|
||||||
withType<KotlinCompile> {
|
withType<KotlinCompile> {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
|
Loading…
Reference in New Issue
Block a user