Skip to content

Commit 7f5659a

Browse files
committed
conventional plugins support
1 parent e1d482d commit 7f5659a

File tree

16 files changed

+17
-578
lines changed

16 files changed

+17
-578
lines changed

build.gradle.kts

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,32 +41,6 @@ kotlin {
4141
api("org.jetbrains.kotlin:kotlin-gradle-plugin:_")
4242
testImplementation("io.kotest:kotest-runner-junit5:_")
4343
}
44-
target.compilations {
45-
val main by getting
46-
create("functionalTest") {
47-
dependencies {
48-
}
49-
associateWith(main)
50-
val functionalTest by tasks.register<Test>("functionalTest") {
51-
group = JavaBasePlugin.VERIFICATION_GROUP
52-
description = "Runs functional tests"
53-
testClassesDirs = output.classesDirs
54-
classpath = project.sourceSets["functionalTest"].runtimeClasspath
55-
}
56-
tasks.named("check") {
57-
dependsOn(functionalTest)
58-
}
59-
}
60-
}
61-
configurations.getByName("functionalTestImplementation") {
62-
extendsFrom(configurations.getByName("implementation"))
63-
extendsFrom(configurations.getByName("testImplementation"))
64-
}
65-
66-
configurations.getByName("functionalTestRuntimeOnly") {
67-
extendsFrom(configurations.getByName("runtimeOnly"))
68-
extendsFrom(configurations.getByName("testRuntimeOnly"))
69-
}
7044
}
7145

7246
val pluginId = "lt.petuska.npm.publish"
Lines changed: 1 addition & 1 deletion
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-6.8-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-rc-2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

sandbox/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ allprojects {
88
version = "0.0.0"
99

1010
repositories {
11-
jcenter()
11+
mavenLocal()
1212
mavenCentral()
13+
jcenter()
1314
}
1415
}
1516

sandbox/js/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ plugins {
33
id("lt.petuska.npm.publish")
44
}
55

6-
repositories {
7-
jcenter()
8-
mavenCentral()
9-
}
10-
116
kotlin {
127
js {
138
browser()

sandbox/mpp/build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ plugins {
44
`maven-publish`
55
}
66

7-
repositories {
8-
jcenter()
9-
mavenCentral()
10-
}
11-
127
kotlin {
138
js { browser() }
149
js("jsIR", IR) {

src/functionalTest/kotlin/lt/petuska/npm/publish/AssembleTaskFTest.kt

Lines changed: 0 additions & 59 deletions
This file was deleted.

src/functionalTest/kotlin/lt/petuska/npm/publish/NpmPublishPluginFunctionalTest.kt

Lines changed: 0 additions & 148 deletions
This file was deleted.

src/functionalTest/kotlin/lt/petuska/npm/publish/PublishTaskFTest.kt

Lines changed: 0 additions & 73 deletions
This file was deleted.

src/functionalTest/kotlin/lt/petuska/npm/publish/consts.kt

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)