Fixed issue with sources missing from plugin and updated version

master Version_2.22
Robinson 2023-02-10 11:29:12 +01:00
parent d8e8fb8200
commit c59acbb8b7
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 13 additions and 1 deletions

View File

@ -36,7 +36,7 @@ object Extras {
// set for the project
const val description = "License definitions and legal management plugin for the Gradle build system"
const val group = "com.dorkbox"
const val version = "2.21"
const val version = "2.22"
// set as project.ext
const val name = "Gradle Licensing Plugin"
@ -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()
}