Fixed typo

This commit is contained in:
Robinson 2022-11-28 00:02:09 +01:00
parent df3664f709
commit 0ce013b595
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 8 additions and 14 deletions

View File

@ -21,7 +21,7 @@ plugins {
java java
`java-gradle-plugin` `java-gradle-plugin`
id("com.gradle.plugin-publish") version "0.18.0" id("com.gradle.plugin-publish") version "1.1.0"
id("com.dorkbox.Licensing") version "2.13" id("com.dorkbox.Licensing") version "2.13"
id("com.dorkbox.VersionUpdate") version "2.5" id("com.dorkbox.VersionUpdate") version "2.5"
@ -34,7 +34,7 @@ object Extras {
// set for the project // set for the project
const val description = "Gradle Plugin to manage various Gradle tasks, such as updating gradle and dependencies" const val description = "Gradle Plugin to manage various Gradle tasks, such as updating gradle and dependencies"
const val group = "com.dorkbox" const val group = "com.dorkbox"
const val version = "3.3" const val version = "3.3.1"
// set as project.ext // set as project.ext
const val name = "Gradle Utils" const val name = "Gradle Utils"
@ -112,9 +112,12 @@ tasks.jar.get().apply {
///////////////////////////////// /////////////////////////////////
gradlePlugin { gradlePlugin {
plugins { plugins {
create("GradleUtils") { create("GradlePublish") {
id = "${Extras.group}.${Extras.id}" id = "${Extras.group}.${Extras.id}"
implementationClass = "dorkbox.gradle.GradleUtils" implementationClass = "dorkbox.gradle.GradleUtils"
displayName = Extras.name
description = Extras.description
version = Extras.version
} }
} }
} }
@ -122,14 +125,5 @@ gradlePlugin {
pluginBundle { pluginBundle {
website = Extras.url website = Extras.url
vcsUrl = Extras.url vcsUrl = Extras.url
tags = listOf("build", "jpms", "utilities", "update", "dependencies", "dependency management")
(plugins) {
"GradleUtils" {
id = "${Extras.group}.${Extras.id}"
displayName = Extras.name
description = Extras.description
tags = listOf("build", "jpms", "utilities", "update", "dependencies", "dependency management")
version = Extras.version
}
}
} }

View File

@ -445,7 +445,7 @@ open class StaticMethodsAndTools(private val project: Project) {
/** /**
* Fix the compiled output from intellij to be SEPARATE from gradle. * Fix the compiled output from intellij to be SEPARATE from gradle.
*/ */
fun fixIntellijPaths(location: String = "z/classes-intellij") { fun fixIntellijPaths(location: String = "${project.buildDir}/classes-intellij") {
// put idea in its place! Not having this causes SO MANY PROBLEMS when building modules // put idea in its place! Not having this causes SO MANY PROBLEMS when building modules
// println("Setting intellij Compile location to: $location") // println("Setting intellij Compile location to: $location")
idea(project) { idea(project) {