devbridie
03/23/2019, 4:37 PMAbstractKotlinInspection
is taking place has java.util.EnumMap
(e.g. not js platform)?
2. My replacement pattern is java.util.EnumMap
, but I think it would be more idiomatic to add an import and use EnumMap
directly. I couldn't find any examples of this, which classes should I be looking at?
3. I have a KotlinType
of which I want to create a fragment E::class.java
, but using toString looks nasty here, what would be a better approach?
call.replace(factory.createExpressionByPattern("java.util.EnumMap($0::class.java)", enumClass.toString()))
Thanks!gcx11
03/30/2019, 10:39 PMJDK_16="C:\\Program Files\\Java\\jdk1.8.0_181"
JDK_17="C:\\Program Files\\Java\\jdk1.8.0_181"
JDK_9="C:\\Program Files\\Java\\jdk-11.0.2"
to gradle.properties, but when I run gradlew install
I get error Invalid environment value JDK_16: "C:\Program Files\Java\jdk1.8.0_181", expecting JDK home path
What I am doing wrong?Smallville7123
04/04/2019, 9:19 AMraulraja
04/17/2019, 9:50 AMRohan Maity
04/19/2019, 5:49 PMConfigure Modules with Java(Gradle)
, Configure modules with JS(Gradle)
and two same options with Maven
. From here on I am getting confusedakshay_b
05/01/2019, 4:13 PMorg.jetbrains.kotlin.jvm
gradle plugin. Could anyone help me ?mruno
05/06/2019, 3:29 PMAnnotationDescriptor
? I'm really having trouble wrapping my mind around it for some reasonRohan Maity
05/18/2019, 12:42 PM~/.bashrc
# Java
export JAVA_HOME="/usr/java/jdk1.8.0_202"
export JDK_16="/usr/java/jdk1.6.0_07"
export JDK_17="/usr/java/jdk1.7.0_80"
export JDK_18="/usr/java/jdk1.8.0_202"
export JDK_9="/usr/java/jdk-9.0.4"
I added these JDKs path to Inteliij Idea's environment variable setting (Settings->Terminal->Enviroment Variable). But when I build project I face this error as in image below. I was Building whole project
Update
Issue is solved
- Previously I checked auto imports
during import of projects
- I directly imported project instead of opening project -> import module from existing sources
Couldn't find exactly what went wrong previously though 😶Burkhard
06/05/2019, 11:15 AMFudge
06/06/2019, 9:31 AMcompiler/testData/custom/testDataTest.kt
and ran Generate Compiler Tests
, but I don't see any new files generated? (I looked in the git diff)thara
06/06/2019, 2:09 PMIterable<Tuple>#unzip
?
I found an issue about `Iterable<Pair>#unzip`; https://youtrack.jetbrains.com/issue/KT-5793
I wonder it doesn’t say about Iterable<Tuple>
.kartikpatodi
06/11/2019, 4:43 AM"""
ghedeon
06/19/2019, 5:08 PM./gradlew ideaPluginTest
gives me ~12 failures on kotlin master. Is it known, do I miss something in my configuration?ptmt
07/08/2019, 5:59 PMSam
08/01/2019, 4:20 PMgradle init --type kotlin-application
and I have added these lines (found [here](https://github.com/JetBrains/kotlin/#including-into-composite-build)) to my `settings.gradle`:
includeBuild('/path/to/kotlin') {
dependencySubstitution {
substitute module('org.jetbrains.kotlin:kotlin-compiler') with project(':include:kotlin-compiler')
}
}
When I do a ./gradlew build --info
in my starter project, I can see that the there are :kotlin:*
tasks running (though they re-run only after I do a ./gradlew dist
in the kotlin compiler repo) but the changes I've made to the Kotlin compiler (I've added some print/logging statements) are not showing up when compiling the code in my project.
Any suggestions on how I can get my project to compile with a built-from-source Kotlin compiler using Gradle?Yanis Batura
08/18/2019, 8:10 AMmaster
?Yuku Kotani
08/22/2019, 3:08 PMmorozov
09/26/2019, 8:00 AMefemoney
10/11/2019, 5:13 PMbuild.gradle.kts
. Did anyone face similar?efemoney
10/14/2019, 8:10 AM./gradlew dist
from command line works. I also did the “New module from existing sources” bit on first run.jossiwolf
10/22/2019, 6:49 PMtarek
10/28/2019, 11:42 AM:js:js.translator
that affects :kotlin-test:kotlin-test-js:kotlin-test-js-it
I made changes to files in :js:js.translator
and then rebuild it (./gradlew :js:js.translator:build
)
But it does not seem to affect behavior of :kotlin-test:kotlin-test-js:kotlin-test-js-it
I’m sure there’s a missing step to ensure that module uses the newly (locally) built kotlin version, like publishLocally
or something
I tried ./gradlew install
in the root dir and then mvn install
in the libraries dir but it still does not seem to work
Any ideas? 🙏Brais Gabin
10/28/2019, 7:46 PMmaster
? I’m running ./gradlew ideaPluginTest
. I set JDK_16
and JDK_17
to the same JDK as JDK_18
as it’s pointed out in the README.Tillmann Berg
11/26/2019, 10:19 PMimport samples.Sample
leaks through to the webpage and there the import cannot be found. I guess, changing the import statement to samples.*
would fix this, but it would be cleaner to correct the generation of the html. Could someone point me to where this HTML is generated?AJ Alt
01/15/2020, 11:26 PMConvertTrimIndentToTrimMarginIntention
was removed? @dimonchik0036 mentions KT-31502 in the commit that removed it, but I don't have permission to view that issue.adam-mcneilly
02/17/2020, 2:24 AMSinan Kozak
03/25/2020, 3:33 PMideaPluginTest
nj2k and idea-plugin, some of test are failing. Even though, I didn’t touch them. Would it be about a setup/environment problem? List of test are in thread…turansky
03/26/2020, 12:33 PMjs
or js/js.translator
subprojects?Sinan Kozak
03/26/2020, 12:38 PMturansky
03/28/2020, 2:10 PMPlugins
when I run ./gradlew runIde
in Kotlin master
?
Something like 1.4-SNAPSHOT
?