zokipirlo
03/27/2020, 12:32 PMzak.taccardi
03/30/2020, 4:14 PMtypealias
? For example, typealias LoadString: () -> String
finds all usages of () -> T
and I specifically just want LoadString
leandro
03/31/2020, 9:00 AMyawkat
04/02/2020, 10:03 AMSlackbot
04/02/2020, 9:28 PMelect
04/06/2020, 2:50 PMrocketraman
04/09/2020, 7:35 PMokue
04/11/2020, 8:30 AMintegrationTest
based on https://docs.gradle.org/6.3/userguide/java_testing.html#sec:configuring_java_integration_tests.
But, I’m facing a problem that internal methods and classes are not visible from my custom source set intergrationTest
when coding at IDEA.
(Gradle can build successfully because I setup compilations["integrationTest"].associateWith(compilations["main"])
)
Is there a way to resolve this problem?pablisco
04/11/2020, 7:50 PMTask 'assemble' not found in root project
On gradle there seems to have zero problems. Not sure why it’s trying to run the assemble task 🙃
This is the gradle output from IntelliJ:
https://gist.github.com/pablisco/02a76c227e95766e1407a375679328a9
The project is: https://github.com/pablisco/virustrend
What am I doing wrong? 😅Gary Tierney
04/12/2020, 8:38 PMProgressManager
cancel on me when I'm at a breakpoint is a tad annoyingmbonnin
04/14/2020, 6:17 PMsettings.gradle.kts
file and IntelliJ 2020.1. Itt was working well with 2019.3Alexander Vasiljev
04/16/2020, 2:39 AMnapperley
04/16/2020, 10:30 PM// For ARM, should be changed to iosArm32 or iosArm64
With Kotlin Native there are ARM based targets for other OS's besides iOS (eg linuxArm32Hfp, and linuxArm64), and iOS development can't be done on a Linux PC. The contents of the comment should be based on what host OS is used.Colton Idle
04/18/2020, 3:21 AMchristophsturm
04/20/2020, 10:45 AMval webRootDirectory = Paths.get("src", "main", "resources", "web").toAbsolutePath()
idea complains “declaration has type inferred from a platform call which can lead to unchecked nullability issue”
when i add a !!
, it instead complains “unnecessary non null assertion (!!) on a non null receiver of type path”poohbar
04/20/2020, 4:13 PMEyeCon
04/21/2020, 9:17 AMketurn
04/24/2020, 5:19 PMcamdenorrb
04/25/2020, 6:55 PMnapperley
04/26/2020, 3:52 AM_gtkWidgetPtr?.reinterpret()
):
// ...
actual open class AppWindow(private val app: GuiApplication) : WindowBase {
private var _gtkWidgetPtr: CPointer<GtkWidget>? = null
override val gtkWidgetPtr: CPointer<GtkWidget>?
get() = _gtkWidgetPtr?.reinterpret()
val gtkAppWinPtr: CPointer<GtkApplicationWindow>?
get() = _gtkWidgetPtr?.reinterpret()
override val gtkWindowPtr: CPointer<GtkWindow>? by lazy {
_gtkWidgetPtr?.reinterpret()
}
// ...
}
vineethraj49
04/27/2020, 12:15 AM@Suppress("unused")
and that's being "carried forward", why?mbonnin
04/28/2020, 11:02 PMjavax/xml/bind/JAXBException
error when run from intelliJ, which hints at a JDK11 somewhere... But I do have JDK 1.8 in both the project structure and also in the "Gradle JVM" setting. Any clue why my build would run on JDK11 ?natpryce
04/30/2020, 4:41 PMIan
04/30/2020, 7:15 PMPierre Marais
05/02/2020, 8:10 AMHanno
05/04/2020, 3:50 PMJakub Pi
05/05/2020, 4:43 PMval digest = MessageDigest.getInstance("SHA-256")
digest.update("foo".toByteArray())
val result1 = digest.digest()
digest.reset()
val result2 = digest.digest("foo".toByteArray())
val areEqual = MessageDigest.isEqual(result1, result2)
println(areEqual)
The call to digest.update()
is ignored when run inside of a scratchpad (as opposed to compiled code). So scratchpad prints false
while running the same block inside of a main()
prints true
. Any ideas what could be causing this?todd.ginsberg
05/06/2020, 4:54 PMchristophsturm
05/12/2020, 11:34 AMSinan Kozak
05/12/2020, 1:56 PM