Alec Muffett
11/08/2020, 10:38 PM[INFO] --- kotlin-maven-plugin:1.4.20-RC:compile (compile) @ app ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil (file:/Users/alecm/.m2/repository/org/jetbrains/kotlin/kotlin-compiler/1.4.20-RC/kotlin-compiler-1.4.20-RC.jar) to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Big Chungus
11/09/2020, 12:34 AMAlec Muffett
11/09/2020, 9:57 AMbuild.gradle.kts
documentation for so many of my dependencies, and now as part of the experiment I am learning that some other dependencies are deprecating maven
, too. It is beginning to look that the only way to build Kotlin is to use non-Kotlin-gradle. i.e.: Groovy or whatever.
Does this reflect your experience, please?Big Chungus
11/09/2020, 10:03 AMAlec Muffett
11/09/2020, 10:05 AMBig Chungus
11/09/2020, 10:07 AM'
to "
and all implicit groovy method invocations to explicits like srcDir 'src/main/protos'
-> srcDir("src/main/protos")
Alec Muffett
11/09/2020, 12:35 PM.kts
equivalent, please?Alec Muffett
11/09/2020, 12:37 PMid("com.squareup.wire") version "3.5.0"
into the plugins{}
then I just get a Plugin ...was not found in any of the following sources
which seems odd for something that is in MavenBig Chungus
11/09/2020, 12:51 PMBig Chungus
11/09/2020, 12:53 PMplugins {
id 'application'
id 'org.jetbrains.kotlin.jvm'
id 'com.squareup.wire'
}
Since the page there doesn't specify where the version is listedAlec Muffett
11/09/2020, 1:04 PMid("com.squareup.wire") version "3.5.0"
?Big Chungus
11/09/2020, 1:06 PMplugins {
application
kotlin("jvm") version "1.4.10"
id("com.squareup.wire") version "3.5.0"
}
Big Chungus
11/09/2020, 1:06 PMAlec Muffett
11/09/2020, 1:20 PMpluginManagement.repositories
to include Maven, and it is still not being found.
* What went wrong:
Plugin [id: 'com.squareup.wire', version: '3.5.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.squareup.wire:com.squareup.wire.gradle.plugin:3.5.0')
Searched in the following repositories:
Gradle Central Plugin Repository
MavenRepo
The name at Maven does not match the above; on the website is it given as wire-gradle-plugin
with hyphens. On that basis, I tried the following, too:
implementation("com.squareup.wire:wire-gradle-plugin:3.5.0")
...and although that stops the breakage, it does not seem to install the plugin in a usable state; I cannot do wire{}
for instanceBig Chungus
11/09/2020, 2:27 PMbuildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath("com.squareup.wire:wire-gradle-plugin:3.5.0")
}
}
apply(plugin = "wire-gradle-plugin")
Big Chungus
11/09/2020, 2:27 PMapply(plugin = "com.squareup.wire:wire-gradle-plugin")
Big Chungus
11/09/2020, 2:28 PMAlec Muffett
11/09/2020, 3:28 PMAlec Muffett
11/09/2020, 3:28 PMBig Chungus
11/09/2020, 3:29 PMAlec Muffett
11/09/2020, 3:30 PMBig Chungus
11/09/2020, 3:34 PMbuildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath("com.squareup.wire:wire-gradle-plugin:3.5.0")
}
}
apply(plugin = "com.squareup.wire")
Big Chungus
11/09/2020, 3:34 PMBig Chungus
11/09/2020, 3:35 PMBig Chungus
11/09/2020, 3:35 PMBig Chungus
11/09/2020, 3:37 PMplugins {
application
kotlin("jvm") version "1.4.10"
id("com.squareup.wire") version "3.5.0"
}
Is not gonna work due to the plugin not having plugin marker publishedBig Chungus
11/09/2020, 3:38 PMAlec Muffett
11/09/2020, 3:41 PMPlugin [id: 'com.squareup.wire', version: '3.5.0', apply: false] was not found in any of the following sources:
Alec Muffett
11/09/2020, 3:41 PMAlec Muffett
11/09/2020, 3:41 PMAlec Muffett
11/09/2020, 3:47 PMAlec Muffett
11/09/2020, 3:48 PMAlec Muffett
11/11/2020, 12:37 PMBig Chungus
11/11/2020, 12:44 PMAlec Muffett
11/11/2020, 12:55 PMAlec Muffett
11/11/2020, 12:55 PMAlec Muffett
11/11/2020, 12:56 PMresolutionStrategy
Big Chungus
11/11/2020, 3:15 PM