Skip to content

Commit

Permalink
#7: placeholders for shared file export/import
Browse files Browse the repository at this point in the history
  • Loading branch information
tlinkowski committed Jun 30, 2019
1 parent 90d0e78 commit 6979194
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ subprojects {
configureSubproject() // rootProject (this is a single-project build)

apply(from = "gradle/generateTLinkowskiSuperpomPluginKt.gradle.kts")
apply(from = "gradle/configureSharedFileExport.gradle.kts")

dependencies {
implementation(kotlin("stdlib-jdk8"))
Expand Down
24 changes: 24 additions & 0 deletions gradle/configureSharedFileExport.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2019 Tomasz Linkowski.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* Counterpart of `configureSharedFileImport()` in `BaseTLinkowskiSuperpomPlugin.kt`.
*/
tasks {

}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ abstract class BaseTLinkowskiSuperpomPlugin : Plugin<Project> {
if (project != rootProject) {
throw GradleException("This plugin can be applied to a root project only")
}
configureSharedFileImport()
}

/**
* Counterpart of `configureSharedFileExport.gradle.kts`.
*/
private fun Project.configureSharedFileImport() {

}

/**
Expand Down

0 comments on commit 6979194

Please sign in to comment.