Fixed issue with sources missing from plugin and updated version

master Version_3.13
Robinson 2023-02-10 11:27:52 +01:00
parent 5e55d9ec61
commit 78f95d0a3e
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 13 additions and 1 deletions

View File

@ -34,7 +34,7 @@ object Extras {
// set for the project
const val description = "Gradle Plugin to manage various Gradle tasks, such as updating gradle and dependencies"
const val group = "com.dorkbox"
const val version = "3.12"
const val version = "3.13"
// set as project.ext
const val name = "Gradle Utils"
@ -61,6 +61,18 @@ licensing {
}
}
sourceSets {
main {
java {
setSrcDirs(listOf("src"))
// want to include kotlin and java files for the source. 'setSrcDirs' resets includes...
// NOTE: if we DO NOT do this, then there will not be any sources in the "plugin sources" jar, as it expects only java
include("**/*.kt", "**/*.java")
}
}
}
repositories {
gradlePluginPortal()
}