denis.st
06/10/2016, 8:41 AMorangy
yole
06/10/2016, 9:15 AMyole
06/10/2016, 9:15 AMdenis.st
06/15/2016, 11:08 PMralf
02/16/2022, 5:16 PMKathrin Petrova
03/01/2022, 4:40 PMlouiscad
03/06/2022, 12:19 AMKathrin Petrova
03/23/2022, 1:04 PMAlina Grebenkina
04/13/2022, 2:22 PMefemoney
05/24/2023, 2:01 AMListProperty.convention(…)
is that once user sets their own value on the property (including using ListProperty.add/addAll
), convention is cleared/ignored, so also language settings are cleared for a user that configures compilerOptions
in addition to enableLanguageFeature()
altavir
06/02/2023, 11:24 AMaltavir
06/02/2023, 6:01 PMExecution failed for task ':demo:gdml:transformCommonMainDependenciesMetadata'.
> Could not resolve all files for configuration ':demo:gdml:commonMainResolvableDependenciesMetadata'.
> Could not find space.kscience:dataforge-context:.
Required by:
project :demo:gdml > project :visionforge-solid > project :visionforge-core
> Could not find org.jetbrains.kotlinx:kotlinx-html:.
Required by:
project :demo:gdml > project :visionforge-solid > project :visionforge-core
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:.
Required by:
project :demo:gdml > org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.0-RC
> Could not find org.jetbrains.kotlinx:atomicfu:.
Required by:
project :demo:gdml > org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.0-RC
> Could not find io.github.pdvrieze.xmlutil:serialization:.
Required by:
project :demo:gdml > space.kscience:gdml:0.5.0
> Could not find com.github.h0tk3y.betterParse:better-parse:.
Required by:
project :demo:gdml > space.kscience:gdml:0.5.0
I checked that all dependencies are present in the repository. Also I do not understand, why versions are not shown.
Project link: https://github.com/SciProgCentre/visionforge/tree/beta/1.9.0Zac Sweers
06/10/2023, 1:16 AMZac Sweers
06/15/2023, 9:40 PMMargarita Bobova
06/21/2023, 8:36 AMshikasd
06/21/2023, 5:04 PMOleg Yukhnevich
06/28/2023, 9:07 AM1.9.20-dev-*
build is from week ago ?
f.e. latest now is: https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/kotlin/kotlin-stdlib/1.9.20-dev-4610/ (published on 2023-06-22)Joffrey
07/07/2023, 3:09 PMkotlin.experimental.tryK2=true
gradle property? I'm using allWarningsAsErrors
so it currently breaks the build... 😕Jeff Lockhart
07/07/2023, 10:02 PMfreeCompilerArgs.add("-Xallocator=custom")
and ran into this build error:
/Users/jeff/.gradle/caches/modules-2/files-2.1/com.soywiz.korlibs.korio/korio-iosx64/4.0.6/f5f95756bae903a6f2799d340dc7e3c454de25ef/korio is cached (in /Users/jeff/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.0/klib/cache/ios_x64-gSTATIC-pl/com.soywiz.korlibs.koriokorio/unspecified/82f778b055c4fad9d6e92c5b807cbe2b597c42f7b3c907fa020c3ed0248cf9dd/com.soywiz.korlibs.koriokorio-cache/bin/libcom.soywiz.korlibs.korio:korio-cache.a), but its dependency isn't: /Users/jeff/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.0/klib/common/stdlibThere is data at that location
~/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.0/klib/common/stdlib
, however.Kathrin Petrova
07/26/2023, 10:56 AMTolriq
07/31/2023, 6:30 PM##### 100% (220/220) tasks have been compiled with Kotlin 2.0 #####
But as expected all the kapt tasks says: w: Kapt currently doesn't support language version 2.0+. Falling back to 1.9.
Is this normal or am I missing some parameters?Edoardo Luppi
08/04/2023, 9:55 AMEdoardo Luppi
09/06/2023, 7:48 AMoscar
09/12/2023, 6:59 AMwasm-wasi
.
✅ We’ve added support for the WASI API in the standard library, simplifying the use of Kotlin/Wasm beyond browsers.
✅ We’re working on stabilizing the K2 compiler, and we invite you to try it!Margarita Bobova
09/12/2023, 7:26 AMtapchicoma
09/12/2023, 3:17 PMkotlin {
compilerOptions {
// Project-level common compiler options that are used as defaults for all targets
allWarningsAsErrors.set(true)
}
// Target-level compiler options
jvm {
compilerOptions {
// JVM compiler options that are used as defaults for all compilations in this target
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
}
}
js {
compilerOptions {
// JS compiler options that are used as defaults for all compilations in this target
moduleKind.set(org.jetbrains.kotlin.gradle.dsl.JsModuleKind.AMD)
}
}
linuxX64 {
compilerOptions {
// Native compiler options that are used as defaults for all compilations in this target
languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_0) // Overrides default version ‘1.9’
}
}
iosArm64 {
compilerOptions {
// Native compiler options that are used as defaults for all compilations in this target
allWarningsAsErrors.set(false) // Overrides project-level configuration
}
}
}
And related languageSettings
values are also synced with related compilation task compilerOptions
. Please give it a try and provide feedback 🙂altavir
09/13/2023, 6:32 AMe: Compilation failed: An interface expected but was Any
* Source files:
* Compiler version: 1.9.20-Beta
* Output kind: PROGRAM
I wonder if anyone had the same error. No error details are provided.Jeff Lockhart
09/15/2023, 7:45 PMkotlin.test.Test
), but not others (kotlin.test.assert*
). Everything works at compile/run time. kotlin.test
is an API dependency coming from a testing-support module. If I add the dependency directly to the module, the errors go away.
This is a regression from Kotlin 1.9.10.Jeff Lockhart
09/15/2023, 8:43 PM@Throws
warn:
Annotationeven though theis missing on actual declaration. All annotations from expect@Throws(exceptionClasses = {<SomeException>::class})
must be present with the same arguments on actualfun <someFunction>() defined in ...
, otherwise they might behave incorrectly.fun <someFunction>() defined in ...
actual
is in fact annotated with the same exception class as the expect
.
This seems to occur when the exception class is defined as an actual typealias
, but not in source sets where the exception is an actual class
. Everything works at compile/run time.
The warnings occur with either Kotlin 1.9.10 or 1.9.20-Beta, with the 1.9.20-Beta IDE plugin, but not with the 1.9.0 IDE plugin.