Skip to content

Commit 5fbe01d

Browse files
lamba92Lamba92
authored and
Lamba92
committed
moving to bintray, centralized gradle logic with custom plugin
1 parent ac174e7 commit 5fbe01d

File tree

4 files changed

+6
-45
lines changed

4 files changed

+6
-45
lines changed

build.gradle.kts

+5
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,9 @@ tasks.register<Zip>("zipNodePackages") {
3030
}
3131
archiveBaseName.set("node_package")
3232
destinationDirectory.set(buildDir)
33+
}
34+
35+
extensions.findByName("buildScan")?.withGroovyBuilder {
36+
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
37+
setProperty("termsOfServiceAgree", "yes")
3338
}

buildSrc/src/main/kotlin/com/github/lamba92/dragalialost/build/DragaliaPlugin.kt

-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ class DragaliaPlugin : Plugin<Project> {
1919
plugins.apply("org.gradle.maven-publish")
2020
plugins.apply("com.jfrog.bintray")
2121

22-
extensions.findByName("buildScan")?.withGroovyBuilder {
23-
setProperty("termsOfServiceUrl", "https://gradle.com/terms-of-service")
24-
setProperty("termsOfServiceAgree", "yes")
25-
}
26-
2722
extensions.configure<KotlinMultiplatformExtension> {
2823
metadata {
2924
mavenPublication {

gradle/publish.gradle.kts

-39
This file was deleted.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)