Closed srnyx closed 1 year ago
Will be checked
Works just fine.
<dependency>
<groupId>libs</groupId>
<artifactId>CinematicStudio</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>your path here/CinematicStudio.jar</systemPath>
</dependency>
The $ character you're talking about is just how java handles inner classes. https://stackoverflow.com/questions/11388840/java-compiled-classes-contain-dollar-signs
This might be because of how Proguard handles classes relocation. I'll provide a fix for this.
<dependency> <groupId>libs</groupId> <artifactId>CinematicStudio</artifactId> <version>1.0</version> <scope>system</scope> <systemPath>your path here/CinematicStudio.jar</systemPath> </dependency>
I'm using Gradle Kotlin DSL, like this:
dependencies {
compileOnly(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
}
And then I have the CinematicStudio JAR file in the libs
folder. So not sure if that changes anything. This dependency thing works fine for other APIs/libraries that I have in the libs
folder too.
Update and check please
Terms
Discord tag (optional)
srnyx#0001
What happened?
When comparing
CutsceneStopEvent#getCause
and aCutsceneStopEvent$Cause
, my IDE gets a little angry:THIS IS ONLY VISUAL! The plugin still compiles and works. The event also works as intended when fired. This probably means it's more of an IDE issue. However, I think it's a simple fix on your end by just not using the
$
character forCutsceneStopEvent$Cause
, and instead just naming itCause
.Steps to reproduce the issue
CutsceneStopEvent
event handlerCutsceneStopEvent$Cause
withCutsceneStopEvent#getCause
CinematicsStudio Version
1.4.3-r5
Screenshots/Videos