Since im not doing Java, how do one do this?
# ktor
f
Since im not doing Java, how do one do this?
t
gradle or maven?
in maven i do
Copy code
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <executions>
        <execution>
            <goals>
                <goal>attached</goal>
            </goals>
            <phase>package</phase>
            <configuration>
                <descriptorRefs>
                    <descriptorRef>jar-with-dependencies</descriptorRef>
                </descriptorRefs>
                <archive>
                    <manifest>
                        <mainClass>app.MainKt</mainClass>
                    </manifest>
                </archive>
            </configuration>
        </execution>
    </executions>
</plugin>
f
Decided to use old
fun main()
instead and then all worked. I had stuff setup for running in IntelliJ with
DevelopmentEngine
and that did not seem very flexible
Tack så mycket anyway though! 🙂