Updated version info. moved kotlin dependencies to compileOnly to not force kotlin versions in other projects

master
nathan 2020-08-29 10:02:59 +02:00
parent 6442c85e82
commit cf3e199676
2 changed files with 9 additions and 10 deletions

View File

@ -16,12 +16,12 @@
- Nexus Publish Plugin - Gradle Plugin that explicitly creates a Staging Repository before publishing to Nexus.
[The Apache Software License, Version 2.0]
https://github.com/marcphilipp/nexus-publish-plugin
Copyright 2019
Copyright 2020
Marc Philipp
- Gradle Nexus Staging plugin - A gradle plugin providing tasks to close and promote/release staged repositories.
[The Apache Software License, Version 2.0]
https://github.com/Codearte/gradle-nexus-staging-plugin
Copyright 2019
Copyright 2020
Marcin Zajączkowski
https://github.com/Codearte/gradle-nexus-staging-plugin/graphs/contributors

View File

@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.time.Instant
gradle.startParameter.showStacktrace = ShowStacktrace.ALWAYS_FULL // always show the stacktrace!
@ -25,18 +24,18 @@ plugins {
id("com.gradle.plugin-publish") version "0.12.0"
id("com.dorkbox.Licensing") version "2.3"
id("com.dorkbox.Licensing") version "2.5"
id("com.dorkbox.VersionUpdate") version "2.0"
id("com.dorkbox.GradleUtils") version "1.10"
id("com.dorkbox.GradleUtils") version "1.12"
kotlin("jvm") version "1.3.72"
kotlin("jvm") version "1.4.0"
}
object Extras {
// set for the project
const val description = "Gradle Plugin to publish projects to the sonatype repository"
const val group = "com.dorkbox"
const val version = "1.7"
const val version = "1.8"
// set as project.ext
const val name = "Gradle Publish"
@ -83,9 +82,9 @@ repositories {
dependencies {
// the kotlin version is taken from the plugin, so it is not necessary to set it here
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
compileOnly("org.jetbrains.kotlin:kotlin-gradle-plugin")
compileOnly("org.jetbrains.kotlin:kotlin-reflect")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
// publish on sonatype