Skip to content

Commit eb3a95a

Browse files
committed
Change groupId and package because Sonatype hates me :)
1 parent e4424b4 commit eb3a95a

File tree

20 files changed

+37
-37
lines changed

20 files changed

+37
-37
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# kotlin-null-defaults
22

33
[![](https://jitpack.io/v/kyay10/kotlin-null-defaults.svg)](https://jitpack.io/#kyay10/kotlin-null-defaults)
4-
[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com/github/kyay10/kotlin-null-defaults/com.github.kyay10.kotlinnulldefaults/maven-metadata.xml.svg?colorB=007ec6&label=gradlePluginPortal)](https://plugins.gradle.org/plugin/com.github.kyay10.kotlin-null-defaults) (
4+
[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/io/github/kyay10/kotlin-null-defaults/io.github.kyay10.kotlinnulldefaults/maven-metadata.xml.svg?colorB=007ec6&label=gradlePluginPortal)](https://plugins.gradle.org/plugin/io.github.kyay10.kotlin-null-defaults) (
55
Currently pending approval)
66

77
A Kotlin compiler plugin that allows Java callers to pass in `null` for default parameters by automatically checking for nulls and substituting the default values .

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
extra["kotlin_plugin_id"] = "com.github.kyay10.kotlin-null-defaults"
2+
extra["kotlin_plugin_id"] = "io.github.kyay10.kotlin-null-defaults"
33
}
44
plugins {
55
`maven-publish`
@@ -8,9 +8,9 @@ plugins {
88
id("com.gradle.plugin-publish") version "0.13.0" apply false
99
id("com.github.gmazzo.buildconfig") version "3.0.0" apply false
1010
}
11-
val rootGroup = "com.github.kyay10"
11+
val rootGroup = "io.github.kyay10"
1212
group = rootGroup
13-
val rootVersion = "0.1.0"
13+
val rootVersion = "0.1.1"
1414
version = rootVersion
1515
val rootName = name
1616
subprojects {

gradle-plugin/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ val pluginDisplayName = "Kotlin Null Defaults compiler plugin"
4040
gradlePlugin {
4141
plugins {
4242
create(pluginName) {
43-
id = "com.github.kyay10.kotlin-null-defaults"
43+
id = "io.github.kyay10.kotlin-null-defaults"
4444
displayName = pluginDisplayName
4545
description = pluginDescription
46-
implementationClass = "com.github.kyay10.kotlinnulldefaults.NullDefaultsGradlePlugin"
46+
implementationClass = "io.github.kyay10.kotlinnulldefaults.NullDefaultsGradlePlugin"
4747
}
4848
}
4949
}
@@ -52,14 +52,14 @@ pluginBundle {
5252
vcsUrl = website
5353
description = pluginDescription
5454

55-
version = "0.1.0"
55+
version = "0.1.1"
5656
(plugins) {
5757
pluginName {
5858
displayName = pluginDisplayName
5959
tags = listOf(
6060
"kotlin"
6161
)
62-
version = "0.1.0"
62+
version = "0.1.1"
6363
}
6464
}
6565
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@file:Suppress("UnstableApiUsage", "unused", "MemberVisibilityCanBePrivate")
1919

20-
package com.github.kyay10.kotlinnulldefaults
20+
package io.github.kyay10.kotlinnulldefaults
2121

2222
import org.gradle.api.file.ProjectLayout
2323
import org.gradle.api.model.ObjectFactory
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
@file:Suppress("unused")
1919

20-
package com.github.kyay10.kotlinnulldefaults
20+
package io.github.kyay10.kotlinnulldefaults
2121

2222

2323
import org.gradle.api.Project
@@ -34,18 +34,18 @@ class NullDefaultsGradlePlugin : KotlinCompilerPluginSupportPlugin {
3434

3535
override fun isApplicable(kotlinCompilation: KotlinCompilation<*>): Boolean = true
3636

37-
override fun getCompilerPluginId(): String = BuildConfig.KOTLIN_PLUGIN_ID
37+
override fun getCompilerPluginId(): String = io.github.kyay10.kotlinnulldefaults.BuildConfig.KOTLIN_PLUGIN_ID
3838

3939
override fun getPluginArtifact(): SubpluginArtifact = SubpluginArtifact(
40-
groupId = BuildConfig.KOTLIN_PLUGIN_GROUP,
41-
artifactId = BuildConfig.KOTLIN_PLUGIN_NAME,
42-
version = BuildConfig.KOTLIN_PLUGIN_VERSION
40+
groupId = io.github.kyay10.kotlinnulldefaults.BuildConfig.KOTLIN_PLUGIN_GROUP,
41+
artifactId = io.github.kyay10.kotlinnulldefaults.BuildConfig.KOTLIN_PLUGIN_NAME,
42+
version = io.github.kyay10.kotlinnulldefaults.BuildConfig.KOTLIN_PLUGIN_VERSION
4343
)
4444

4545
override fun getPluginArtifactForNative(): SubpluginArtifact = SubpluginArtifact(
46-
groupId = BuildConfig.KOTLIN_PLUGIN_GROUP,
47-
artifactId = BuildConfig.KOTLIN_PLUGIN_NAME + "-native",
48-
version = BuildConfig.KOTLIN_PLUGIN_VERSION
46+
groupId = io.github.kyay10.kotlinnulldefaults.BuildConfig.KOTLIN_PLUGIN_GROUP,
47+
artifactId = io.github.kyay10.kotlinnulldefaults.BuildConfig.KOTLIN_PLUGIN_NAME + "-native",
48+
version = io.github.kyay10.kotlinnulldefaults.BuildConfig.KOTLIN_PLUGIN_VERSION
4949
)
5050

5151
override fun applyToCompilation(
@@ -58,7 +58,7 @@ class NullDefaultsGradlePlugin : KotlinCompilerPluginSupportPlugin {
5858
kotlinCompilation.compilationName
5959

6060
kotlinCompilation.dependencies {
61-
implementation("${BuildConfig.PRELUDE_LIBRARY_GROUP}:${BuildConfig.PRELUDE_LIBRARY_NAME}:${BuildConfig.PRELUDE_LIBRARY_VERSION}")
61+
implementation("${io.github.kyay10.kotlinnulldefaults.BuildConfig.PRELUDE_LIBRARY_GROUP}:${io.github.kyay10.kotlinnulldefaults.BuildConfig.PRELUDE_LIBRARY_NAME}:${io.github.kyay10.kotlinnulldefaults.BuildConfig.PRELUDE_LIBRARY_VERSION}")
6262
}
6363

6464
return project.provider {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
* limitations under the License.
1616
*/
1717

18-
package com.github.kyay10.kotlinnulldefaults
18+
package io.github.kyay10.kotlinnulldefaults
1919

20-
import com.github.kyay10.kotlinnulldefaults.utils.OptionCommandLineProcessor
2120
import com.google.auto.service.AutoService
21+
import io.github.kyay10.kotlinnulldefaults.utils.OptionCommandLineProcessor
2222
import org.jetbrains.kotlin.compiler.plugin.CommandLineProcessor
2323

2424
@AutoService(CommandLineProcessor::class)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package com.github.kyay10.kotlinnulldefaults
18+
package io.github.kyay10.kotlinnulldefaults
1919

2020
import com.google.auto.service.AutoService
2121
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* limitations under the License.
1616
*/
1717

18-
package com.github.kyay10.kotlinnulldefaults
18+
package io.github.kyay10.kotlinnulldefaults
1919

20-
import com.github.kyay10.kotlinnulldefaults.utils.*
20+
import io.github.kyay10.kotlinnulldefaults.utils.*
2121
import org.jetbrains.kotlin.backend.common.IrElementTransformerVoidWithContext
2222
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
2323
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
@@ -48,7 +48,7 @@ import org.jetbrains.kotlin.name.FqName
4848
import org.jetbrains.kotlin.name.Name
4949
import org.jetbrains.kotlin.utils.addToStdlib.cast
5050

51-
val NULL_DEFAULTS_FQNAME = FqName("com.github.kyay10.kotlinnulldefaults.NullDefaults")
51+
val NULL_DEFAULTS_FQNAME = FqName("io.github.kyay10.kotlinnulldefaults.NullDefaults")
5252

5353
class NullDefaultsIrGenerationExtension(
5454
private val project: Project,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.kyay10.kotlinnulldefaults.utils
1+
package io.github.kyay10.kotlinnulldefaults.utils
22

33
import org.jetbrains.kotlin.backend.common.CodegenUtil
44
import org.jetbrains.kotlin.codegen.JvmCodegenUtil
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@file:OptIn(ExperimentalStdlibApi::class)
22

3-
package com.github.kyay10.kotlinnulldefaults.utils
3+
package io.github.kyay10.kotlinnulldefaults.utils
44

55
import org.jetbrains.kotlin.com.intellij.openapi.vfs.VirtualFile
66
import java.io.File

0 commit comments

Comments
 (0)