Skip to content

Commit

Permalink
try sourcesets fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chetangudisagar committed Nov 3, 2023
1 parent dec5efb commit 2b64a30
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gradle/java.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ java {
withSourcesJar()
}

sourceSets.all {
configurations.getByName(runtimeClasspathConfigurationName) {
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String), "standard-jvm")
}
configurations.getByName(compileClasspathConfigurationName) {
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String), "standard-jvm")
}
}

dependencies {
implementation 'org.slf4j:slf4j-api:1.7.30'

Expand Down

0 comments on commit 2b64a30

Please sign in to comment.