JetBrains/Exposed 5245
Kotlin SQL Framework
Kotlin Serverless Framework
A plugin for Kotlin compiler for compile-time reflection
A web development framework written Kotlin
JetBrains-Research/kinference 49
Running ONNX models in vanilla Kotlin
JetBrains-Research/IntelliJDeodorant 42
An IntelliJ IDEA plugin that detects code smells and recommends appropriate refactorings to resolve them. Based on tsantalis/JDeodorant
TanVD/Grazi 33
Grammar checking and more for IntelliJ IDEA
TanVD/AORM 22
Clickhouse Kotlin SQL Framework
TanVD/ClickhouseCluster_DockerCompose 16
Example Docker Compose configs for Clickhouse Cluster (via ZooKeeper)
AlexanderPrendota/kcdk-runtimes 9
KCDK runtimes is a Gradle plugin and library that helps run Kotlin application in AWS cloud.
startedTanVD/AORM
started time in 6 days
startedTanVD/kosogor
started time in 6 days
issue closedJetBrains/kotless
Error during :generate task in hello world application
I am trying to create a hello-world application and deploy this to AWS. However, I am getting the following error during the :generate task.
Execution failed for task ':generate'.
> 'org.jetbrains.kotlin.analyzer.AnalysisResult org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration$default(org.jetbrains.kotlin.com.intellij.openapi.project.Project, java.util.Collection, org.jetbrains.kotlin.resolve.BindingTrace, org.jetbrains.kotlin.config.CompilerConfiguration, kotlin.jvm.functions.Function1, kotlin.jvm.functions.Function2, org.jetbrains.kotlin.com.intellij.psi.search.GlobalSearchScope, int, java.lang.Object)'
I am using the following build.gradle.kts configuration:
import io.kotless.plugin.gradle.dsl.kotless
group = "com.poc.spotify.kotless"
version = "0.1"
plugins {
kotlin("jvm") version "1.5.10" apply true
id("io.kotless") version "0.1.6" apply true
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
implementation("io.kotless", "kotless-lang", "0.1.7-beta-5")
}
kotless {
config {
bucket = "com.poc.spotify.kotless"
terraform {
profile = "my.kotless.user"
region = "eu-west-1"
}
}
webapp {
lambda {
kotless {
packages = setOf("com.poc.spotify.kotless")
}
}
}
extensions {
local {
port = 9090
}
}
}
And, I am using gradle version 6.5.1,
When I run this locally using gradle local ou gradle build this works. However, if I try a gradle generate or gradle deploy the error occurs in generate task.
Can this be a problem with the versions I am using?
closed time in 6 days
cleversonledurissue openedJetBrains/kotless
Error during :generate task in hello world application
I am trying to create a hello-world application and deploy this to AWS. However, I am getting the following error during the :generate task.
Execution failed for task ':generate'.
> 'org.jetbrains.kotlin.analyzer.AnalysisResult org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration$default(org.jetbrains.kotlin.com.intellij.openapi.project.Project, java.util.Collection, org.jetbrains.kotlin.resolve.BindingTrace, org.jetbrains.kotlin.config.CompilerConfiguration, kotlin.jvm.functions.Function1, kotlin.jvm.functions.Function2, org.jetbrains.kotlin.com.intellij.psi.search.GlobalSearchScope, int, java.lang.Object)'
I am using the following build.gradle.kts configuration:
import io.kotless.plugin.gradle.dsl.kotless
group = "com.poc.spotify.kotless"
version = "0.1"
plugins {
kotlin("jvm") version "1.5.10" apply true
id("io.kotless") version "0.1.6" apply true
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
implementation("io.kotless", "kotless-lang", "0.1.7-beta-5")
}
kotless {
config {
bucket = "com.poc.spotify.kotless"
terraform {
profile = "my.kotless.user"
region = "eu-west-1"
}
}
webapp {
lambda {
kotless {
packages = setOf("com.poc.spotify.kotless")
}
}
}
extensions {
local {
port = 9090
}
}
}
And, I am using gradle version 6.5.1,
When I run this locally using gradle local ou gradle build this works. However, if I try a gradle generate or gradle deploy.
Can this be a problem with the versions I am using?
created time in 7 days
issue closedJetBrains/kotless
Kotless with kotlinx.serialization fails
Hi all, I have this gradle code.
plugins {
kotlin("jvm") version "1.5.10"
// Json serialization
kotlin("plugin.serialization") version "1.5.10"
// kotless
id("io.kotless") version "0.1.6"
}
group = "com.dhawahir.trade.collector"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
jcenter()
maven {
url = uri("https://jitpack.io")
}
}
dependencies {
testImplementation(kotlin("test"))
// kotless
implementation("io.kotless", "kotless-lang", "0.1.6")
// Json serialization
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "11"
}
When I run this, I get the following error
Your current kotlinx.serialization core version is too low, while current Kotlin compiler plugin 1.5.10 requires at least 1.0-M1-SNAPSHOT. Please update your kotlinx.serialization runtime dependency.
when I do gradle dependencies I see this
+--- io.kotless:kotless-lang:0.1.6
| \--- io.kotless:lang-common:0.1.6
| +--- io.kotless:model:0.1.6
| | \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.5.10 (*)
| +--- org.slf4j:slf4j-api:1.7.30
| +--- com.amazonaws:aws-java-sdk-core:1.11.788
| | +--- commons-logging:commons-logging:1.1.3 -> 1.2
| | +--- org.apache.httpcomponents:httpclient:4.5.9
| | | +--- org.apache.httpcomponents:httpcore:4.4.11
| | | +--- commons-logging:commons-logging:1.2
| | | \--- commons-codec:commons-codec:1.11
| | +--- software.amazon.ion:ion-java:1.0.2
| | +--- com.fasterxml.jackson.core:jackson-databind:2.6.7.3 -> 2.10.4
| | | +--- com.fasterxml.jackson.core:jackson-annotations:2.10.4
| | | \--- com.fasterxml.jackson.core:jackson-core:2.10.4
| | +--- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7
| | | \--- com.fasterxml.jackson.core:jackson-core:2.6.7 -> 2.10.4
| | \--- joda-time:joda-time:2.8.1
| +--- org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0
| | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.70 -> 1.5.10 (*)
| | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.3.70 -> 1.5.10
| \--- com.amazonaws:aws-lambda-java-core:1.2.0
Which I suspect the issue is in org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0 , I am using the right version of kotless can I resolve this issue in gradle ?
closed time in 7 days
laithdhawahirissue commentJetBrains/kotless
Kotless with kotlinx.serialization fails
Solved the issue with this
// Resolve Conflicts
modules {
// Resolve conflict between kotless and kotlinx-serialization
module("org.jetbrains.kotlinx:kotlinx-serialization-runtime") {
replacedBy(
"org.jetbrains.kotlinx:kotlinx-serialization-json",
"kotless is using obsolete version of kotlinx.serialization"
)
}
}
comment created time in 7 days
issue openedJetBrains/kotless
Kotless with kotlinx.serialization fails
Hi all, I have this gradle code.
`kotlin plugins { kotlin("jvm") version "1.5.10"
// Json serialization
kotlin("plugin.serialization") version "1.5.10"
// kotless
id("io.kotless") version "0.1.6"
}
group = "com.dhawahir.trade.collector" version = "1.0-SNAPSHOT"
repositories { mavenCentral() jcenter()
maven {
url = uri("https://jitpack.io")
}
}
dependencies { testImplementation(kotlin("test"))
// kotless
implementation("io.kotless", "kotless-lang", "0.1.6")
// Json serialization
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
}
tasks.test { useJUnitPlatform() }
tasks.withType<KotlinCompile>() { kotlinOptions.jvmTarget = "11" } `
When I run this, I get the following error
Your current kotlinx.serialization core version is too low, while current Kotlin compiler plugin 1.5.10 requires at least 1.0-M1-SNAPSHOT. Please update your kotlinx.serialization runtime dependency.
when I do gradle dependencies I see this
+--- io.kotless:kotless-lang:0.1.6 | \--- io.kotless:lang-common:0.1.6 | +--- io.kotless:model:0.1.6 | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.5.10 (*) | +--- org.slf4j:slf4j-api:1.7.30 | +--- com.amazonaws:aws-java-sdk-core:1.11.788 | | +--- commons-logging:commons-logging:1.1.3 -> 1.2 | | +--- org.apache.httpcomponents:httpclient:4.5.9 | | | +--- org.apache.httpcomponents:httpcore:4.4.11 | | | +--- commons-logging:commons-logging:1.2 | | | \--- commons-codec:commons-codec:1.11 | | +--- software.amazon.ion:ion-java:1.0.2 | | +--- com.fasterxml.jackson.core:jackson-databind:2.6.7.3 -> 2.10.4 | | | +--- com.fasterxml.jackson.core:jackson-annotations:2.10.4 | | | \--- com.fasterxml.jackson.core:jackson-core:2.10.4 | | +--- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.7 | | | \--- com.fasterxml.jackson.core:jackson-core:2.6.7 -> 2.10.4 | | \--- joda-time:joda-time:2.8.1 | +--- org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0 | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.70 -> 1.5.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.3.70 -> 1.5.10 | \--- com.amazonaws:aws-lambda-java-core:1.2.0
Which I suspect the issue is in org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.20.0 , I am using the right version of kotless can I resolve this issue in gradle ?
created time in 7 days
push eventTanVD/kosogor
commit sha c45911eb74f3c0b49462eab503fa604308badd46
kosogor-terraform: move to snapshot & update changelog
push time in 8 days
push eventTanVD/kosogor
commit sha b479c344cd92a9ea04664e93d2826f24266effc5
kosogor-terraform: release 1.0.10
push time in 8 days
push eventTanVD/kosogor
commit sha f57e6766bcf3311086828875fd5fd80a1896359f
fix(terraform): replace tfVersionInt with tfVersion and ComparableVersion
commit sha be2536ee5919ecad29f7214564483858710844e9
Merge pull request #18 from misterkramer/feature/up-terraform fix(terraform): replace tfVersionInt with tfVersion
push time in 8 days
issue commentJetBrains/kotless
java.lang.NoSuchMethodError when trying to run generate
Same problem for me when trying to run it with a Kotlin version > 1.3.72:
1.3.72: ✅1.4.32: ❌1.5.10: ❌
comment created time in 10 days
push eventTanVD/kosogor
commit sha d9edcdfdec655a1b42b6ffc26024137087b51b1b
Move to snapshots
push time in 16 days
push eventTanVD/kosogor
commit sha 9bc78abe41499fbd18cbaef4bf5f5cc2e97795ec
Rollback kosogor plugin version to build the project
push time in 16 days
push eventTanVD/kosogor
commit sha 38ab54b9f0b3e115a0c685abd3d0b579360d6dbe
Release kosogor with Kotlin 1.5.10
push time in 16 days
push eventTanVD/kosogor
commit sha c015d857d1ed1d268bb5fabe6f7add525ff912f8
Release kosogor-zkm 1.0.4
push time in 16 days
pull request commentTanVD/kosogor
fix(terraform): replace tfVersionInt with tfVersion
@sndl @Olga-Sh small fix so we can update terraform
comment created time in 17 days
startedPaGr0m/kotlin-spm-plugin
started time in 19 days
issue openedJetBrains/kotless
java.lang.NoSuchMethodError when trying to run generate
Hello, I'm trying to get kotless to work as a subproject of a larger project, for code reuse. Running ./gradlew :serverless:local works, but :serverless:generate or :serverless:plan do not work, failing with
Caused by: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.analyzer.AnalysisResult org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration$default(org.jetbrains.kotlin.com.intellij.openapi.project.Project, java.util.Collection, org.jetbrains.kotlin.resolve.BindingTrace, org.jetbrains.kotlin.config.CompilerConfiguration, kotlin.jvm.functions.Function1, kotlin.jvm.functions.Function2, org.jetbrains.kotlin.com.intellij.psi.search.GlobalSearchScope, int, java.lang.Object)'
at io.kotless.parser.utils.psi.analysis.ResolveUtil.analyze(ResolveUtil.kt:26)
And I'm not sure how to parse that error, to be honest.
created time in a month
issue commentJetBrains/kotless
I can reproduce this bug
- Checkout this commit https://github.com/jmfayard/hello-serverless/commit/1aef399d3d0b217ff4abd424f99ff356dc211bf7
- Run
./gradlew local - Error
TopDownAnalyzerFacadeForJVMhttps://gradle.com/s/msgz3u5dgnicq - Revert to Kotlin 1.3 and it works
Kotless has indeed problems with Kotlin 1.5
comment created time in a month
startedgoogle-research/python-graphs
started time in 2 months
issue commentJetBrains/kotless
Ok, issue is with version. Using kotlin 1.3.72 it worked well. Now I keep getting this error: Could not find or load main class com.example.ApplicationKt
comment created time in 2 months
issue openedJetBrains/kotless
As soon as I execute a gralde local command, I keep getting this error:
Execution failed for task ':local'.
org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration$default(Lorg/jetbrains/kotlin/com/intellij/openapi/project/Project;Ljava/util/Collection;Lorg/jetbrains/kotlin/resolve/BindingTrace;Lorg/jetbrains/kotlin/config/CompilerConfiguration;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Lorg/jetbrains/kotlin/com/intellij/psi/search/GlobalSearchScope;ILjava/lang/Object;)Lorg/jetbrains/kotlin/analyzer/AnalysisResult;
- Try:
created time in 2 months
issue openedJetBrains/kotless
Could not find io.kotless:ktor-lang:0.1.6.
Hello, why I keep getting this issue? My gradle file:
`plugins { java kotlin("jvm") version "1.4.32" id("io.kotless") version "0.1.6" apply true }
group = "org.example" version = "1.0-SNAPSHOT"
repositories { mavenCentral() }
dependencies { implementation(kotlin("stdlib")) testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine") implementation(kotlin("stdlib")) implementation("io.ktor:ktor-server-core:1.5.3") implementation("io.ktor:ktor-server-netty:1.5.3") implementation("ch.qos.logback:logback-classic:1.2.3")
implementation("io.kotless", "ktor-lang", "0.1.6")
}
tasks.getByName<Test>("test") { useJUnitPlatform() }`
created time in 2 months
startedTanVD/Grazi
started time in 2 months
startedTanVD/OAuth_QReal-Web
started time in 2 months