Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
chore(kts): export com.meowool.cradle package
Browse files Browse the repository at this point in the history
  • Loading branch information
chachako committed Aug 29, 2023
1 parent b4aeced commit da139c8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ object PublicKotlinDslApi {
val includes = listOf(
"org/gradle/kotlin/dsl/*",
"org/gradle/kotlin/dsl/precompile/*",

// @cradle extension
"com/meowool/cradle/*",
)

val excludes = listOf(
Expand Down
1 change: 1 addition & 0 deletions platforms/core-configuration/kotlin-dsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ dependencies {

packageCycles {
excludePatterns.add("org/gradle/kotlin/dsl/**")
excludePatterns.add("com/meowool/cradle/**")
}

testFilesCleanup.reportOnly = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ImplicitImportsTest : AbstractKotlinIntegrationTest() {
val c = File("some")
val d = BigDecimal.ONE
val e = BigInteger.ONE
val f = ConfigurableDependency("some", {})
open class Foo {
@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ class ImplicitImports internal constructor(
"java.math.BigDecimal",
"java.math.BigInteger",
"java.io.File",
"javax.inject.Inject"
"javax.inject.Inject",

// @cradle extension
"com.meowool.cradle.*",
"com.meowool.cradle.util.*",
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ public Set<String> getExportedPackages() {
"org.apache.commons.logging",
"org.apache.log4j",
"javax.annotation",
"javax.inject");
"javax.inject",

// @cradle extension
"com.meowool.cradle");
}

@Override
Expand Down

0 comments on commit da139c8

Please sign in to comment.