Skip to content

JavierSegoviaCordoba/hubdle

Repository files navigation

Kotlin version MavenCentral Snapshot

Build Coverage Quality Tech debt

Hubdle

Project and settings convention plugins which allow to create easily projects with different tools:

  • Kotlin projects like JVM, Android, Multiplatform, Gradle plugins, with different features, for example Compose,Kotest, Coroutines, Serialization...
  • Autoconfiguration of multiple tools like coverage, analysis, lints, formatting, documentation, publishing...
  • Auto-include projects and version catalogs.

Usage

plugins {
    id("com.javiersc.hubdle") version "$version"
}

// basic config to get a Kotlin jvm project with coroutines and a custom dependency
hubdle {
    kotlin {
        jvm {
            features {
                coroutines()
            }

            main {
                dependencies {
                    implementation("org.example:example:1.0.0")
                }
            }
        }
    }
}

Configurations

Visit the website

License

Copyright 2022 Javier Segovia Córdoba

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

   https://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.