mirror of
https://github.com/zaaarf/lillero-loader.git
synced 2024-12-22 01:24:52 +01:00
fix: fixed gitversion mangling name
This commit is contained in:
parent
fe7a0a7f93
commit
d1a466cffd
2 changed files with 6 additions and 4 deletions
|
@ -4,11 +4,10 @@ plugins {
|
|||
}
|
||||
|
||||
archivesBaseName = 'loader'
|
||||
version = gitVersion()
|
||||
version = gitVersion().split('-').getAt(0).replace('dirty', '')
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
|
@ -28,5 +27,5 @@ dependencies {
|
|||
}
|
||||
|
||||
jar {
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version}.${jar.archiveExtension.get()}"
|
||||
}
|
||||
|
|
|
@ -66,6 +66,9 @@ public class LilleroLoader implements ILaunchPluginService {
|
|||
*/
|
||||
private final Set<String> targetClasses = new HashSet<>();
|
||||
|
||||
/**
|
||||
* THe default constructor.
|
||||
*/
|
||||
public LilleroLoader() {
|
||||
LOGGER.info(INIT, "Patch Loader initialized");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue