Kotlin packaging
Your Kotlin applications must meet specific packaging and compilation requirements before you can submit them for scanning.
See Supported languages and platforms for instructions for other platforms.
You can analyze applications using Veracode Static Analysis or Veracode Software Composition Analysis (SCA) upload and scan, if licensed. For SCA agent-based scan requirements, see Using Veracode SCA with Programming Languages.
Automated packaging
Auto-packaging simplifies the packaging process for Kotlin projects.
Supported Kotlin versions
Language | Version | Compilers |
---|---|---|
Kotlin | 1.9 and earlier | java, kotlinc |
Compilation instructions
Kotlin applications often interoperate with Java components. See Java packaging for more details about preparing Java applications. For more information about Java interoperability, see the Kotlin documentation.
You must compile and submit Kotlin applications as JAR or WAR files. Submit debug symbols for as much of the application as possible.