Zac Sweers
01/24/2018, 10:41 AMCannot access 'XXX': it is internal in 'YYY'
happening in random places (cleared by a gradle clean or killing daemons)
all on android studio, but haven’t tested intelliJZac Sweers
01/24/2018, 10:47 AMA problem occurred evaluating project ':tooling:kdata-moshi:integration'.
> Could not find implementation class 'org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapper' for plugin 'org.jetbrains.kotlin.jvm' specified in jar:file:/Users/pandanomic/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-gradle-plugin/1.2.21/e53ec8cdacbc461d750d0add731e803e5d4cf71c/kotlin-gradle-plugin-1.2.21.jar!/META-INF/gradle-plugins/org.jetbrains.kotlin.jvm.properties.
albertgao
02/19/2018, 10:21 PMthalescm
02/21/2018, 10:02 PMbeholder
04/20/2018, 11:49 AM-Xenable-jvm-default
in Maven and Gradle?diesieben07
06/11/2018, 12:08 PMsourceSets {
main.kotlin.srcDirs += 'generated/kotlin'
}
Casey Kulm
07/14/2018, 8:06 PMmichaeldang
07/26/2018, 11:01 PM-Werror
flag to ignore generated files? I assume not, but just wanted to askmglukhikh
09/14/2018, 10:19 AMkirillrakhman
10/08/2018, 7:50 AMKenneth
10/16/2018, 8:20 AMxyma
10/23/2018, 2:11 AMktlin
, but it’s rules is different from the official oneRavi Hasija
10/24/2018, 4:59 AMtheiw
10/24/2018, 8:10 PMJoe
10/28/2018, 2:38 PM./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?mantono
11/01/2018, 1:08 PMLommelun
11/04/2018, 11:59 PMLonwabo
11/14/2018, 9:10 AMlukaswelte
11/20/2018, 8:17 AM<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 fineDamiano Giusti
02/27/2019, 8:35 PMtask 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.adams2
03/12/2019, 11:16 PMadams2
03/13/2019, 11:53 PM-Dkotlin.compiler.execution.strategy=“in-process”
Smallville7123
04/12/2019, 2:49 AMHawk
04/17/2019, 9:50 PMmvn package
on wsl (ubuntu 1804) using the default jdk (10) as well as openjdk11 both give the same error. Same error when I try and run from intellij (right click green arrow -> run ). Any ideas 😕ralf
04/22/2019, 7:48 PMMarc Knaup
05/09/2019, 2:11 PMexclude
or the attributes
block from my dependencies?
https://github.com/fluidsonic/fluid-json/blob/master/annotation-processor/build.gradle.kts#L18
`./gradlew fluid json exampleskaptKotlin`:adams2
06/11/2019, 4:00 PMMaksim Vlasov
07/31/2019, 11:06 AM<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>${kotlin.version}</version>
<executions>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
<configuration>
<jvmTarget>${java.version}</jvmTarget>
<javaParameters>true</javaParameters>
</configuration>
</plugin>
or I could simply set a property like this:
<properties>
<kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
</properties>
Eugen Martynov
08/21/2019, 11:26 AMchristiangruber
08/23/2019, 5:58 PM-Xfriend-paths
and does all of that. The only variable is swapping in a later kotlinc. I can't find anything in the change-logs to indicate a change in internal/module enforcement in that timeline. Anyone know of changes that might affect internal enforcement and the behavior of -Xfriend-paths
?