• k

    Kenneth

    3 years ago
    Is there any good reason to use Gradle when you are used to Maven?
    k
    a
    +1
    9 replies
    Copy to Clipboard
  • x

    xyma

    3 years ago
    Hi,is there any code formatter & lint tool that can integrate with maven, I tried
    ktlin
    , but it’s rules is different from the official one
    x
    gildor
    3 replies
    Copy to Clipboard
  • r

    Ravi Hasija

    3 years ago
    Hello, Is their any way in maven to have kotlin + java as main source and groovy as test source?
    r
    1 replies
    Copy to Clipboard
  • theiw

    theiw

    3 years ago
    this is probably a better channel for this
    theiw
    a
    5 replies
    Copy to Clipboard
  • j

    Joe

    3 years ago
    I'm build a kotlin library and when I run build with
    ./gradlew build
    , it creates the jar file, but not when I use
    Build Project
    or
    Build Module
    in Intellij. How do I get those commands to have the same output?
    j
    v
    +1
    5 replies
    Copy to Clipboard
  • m

    mantono

    3 years ago
    Does anyone know of any good procedure or build tool to help you with semantic versioning when you are creating libraries? For example, I would need something that make sure I do not accidentally change a function or class that is exposed in the API of my library in a breaking way. So I would get an warning or error at build time if the signature of a function has changed.
    m
    a
    5 replies
    Copy to Clipboard
  • l

    Lommelun

    3 years ago
    Hi, I'm wondering if there are any best-practises or points to think about when deciding how much or when to modularize a project into multiple build files (maven modules, gradle subprojects). Does anyone have any good advice for when, and how to decide what to break up into different build modules?
    l
    a
    +3
    10 replies
    Copy to Clipboard
  • l

    Lonwabo

    3 years ago
    Hello, Has anyone been able to configure requery using kotlin dsl in build.gradle.kts?
    l
    a
    2 replies
    Copy to Clipboard
  • lukaswelte

    lukaswelte

    3 years ago
    In maven and gradle you can set
    <kotlin.code.style>official</kotlin.code.style>
    for a code style (which is super nice). Is there tooling which can lint the code to follow the code style? Would be great to have it directly in maven, but a additional tool would also be fine
    lukaswelte
    tapchicoma
    4 replies
    Copy to Clipboard
  • d

    Damiano Giusti

    3 years ago
    Hi everyone, I have issues creating a library fat jar for my kotlin project. I’m using the built-in jar plugin and adding the compiled dependencies. This is the task:
    task fatJar(type: Jar) {
        from {
            // Add runtime dependencies to jar.
            configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
        }
        with jar
    }
    Is there something wrong? When I include the jar into another project I can only see my classes from the Java code, not the Kotlin one.
    d
    a
    +1
    8 replies
    Copy to Clipboard