diff --git a/gradle/githooks.gradle.kts b/gradle/githooks.gradle.kts index 8b0d07b7..2c431778 100644 --- a/gradle/githooks.gradle.kts +++ b/gradle/githooks.gradle.kts @@ -5,6 +5,6 @@ tasks.register("installGitHooks") { } // Uncomment the following line if you want the installGitHooks task to be run automatically -// afterEvaluate { -// tasks.getByPath(":virtusize:preBuild").dependsOn(tasks.named("installGitHooks")) -// } + afterEvaluate { + tasks.getByPath(":virtusize:preBuild").dependsOn(tasks.named("installGitHooks")) + } diff --git a/virtusize/build.gradle.kts b/virtusize/build.gradle.kts index ef0b7b84..9886fd13 100644 --- a/virtusize/build.gradle.kts +++ b/virtusize/build.gradle.kts @@ -148,4 +148,4 @@ publishing { } sign(publishing.publications["maven"]) } -} +} \ No newline at end of file