Skip to content

Commit 7d725a2

Browse files
Cleanup build scripts.
1 parent 0ed2914 commit 7d725a2

File tree

5 files changed

+2
-20
lines changed

5 files changed

+2
-20
lines changed

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import io.spine.gradle.internal.DependencyResolution
2222
import io.spine.gradle.internal.Deps
23+
import io.spine.gradle.internal.IncrementGuard
2324
import io.spine.gradle.internal.PublishingRepos
2425

2526
buildscript {
@@ -210,4 +211,5 @@ apply {
210211
from(Deps.scripts.publish(project))
211212
from(Deps.scripts.repoLicenseReport(project))
212213
from(Deps.scripts.generatePom(project))
214+
plugin(IncrementGuard::class)
213215
}

datastore/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,11 @@
1919
*/
2020

2121
import com.github.psxpaul.task.ExecFork
22-
import io.spine.gradle.internal.IncrementGuard
2322

2423
plugins {
25-
`java-library`
2624
id("com.github.psxpaul.execfork").version("0.1.13")
2725
}
2826

29-
apply<IncrementGuard>()
30-
31-
val datastoreVersion: String by extra
3227
val spineCoreVersion: String by extra
3328

3429
dependencies {

pubsub/build.gradle.kts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1919
*/
2020

21-
import io.spine.gradle.internal.IncrementGuard
22-
23-
plugins {
24-
`java-library`
25-
}
26-
27-
apply<IncrementGuard>()
28-
2921
dependencies {
3022
// Google Cloud Pubsub protos
3123
api("com.google.api.grpc:proto-google-cloud-pubsub-v1:1.90.7")

stackdriver-trace/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1919
*/
2020

21-
plugins {
22-
`java-library`
23-
}
24-
2521
dependencies {
2622
api("com.google.cloud:google-cloud-trace:1.2.6")
2723
}

testutil-gcloud/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1919
*/
2020

21-
import io.spine.gradle.internal.Deps
22-
2321
dependencies {
2422
implementation(project(":datastore"))
25-
Deps.test.junit5Api.forEach { implementation(it) }
2623
}

0 commit comments

Comments
 (0)