mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Gradle: use configuration cache
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import io.github.gradlenexus.publishplugin.CloseNexusStagingRepository
|
||||
import net.ltgt.gradle.errorprone.errorprone
|
||||
import org.gradle.kotlin.dsl.withType
|
||||
|
||||
|
||||
// initialize version
|
||||
@@ -103,6 +105,17 @@ allprojects {
|
||||
languageVersion.set( JavaLanguageVersion.of( 25 ) )
|
||||
} )
|
||||
}
|
||||
|
||||
// mark some publishing related tasks as not compatible with configuration cache
|
||||
withType<Sign>().configureEach {
|
||||
notCompatibleWithConfigurationCache( "not compatible" )
|
||||
}
|
||||
withType<PublishToMavenRepository>().configureEach {
|
||||
notCompatibleWithConfigurationCache( "not compatible" )
|
||||
}
|
||||
withType<CloseNexusStagingRepository>().configureEach {
|
||||
notCompatibleWithConfigurationCache( "not compatible" )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user