From cd16a965ad269def6bd3eafe296a3c787e4e6398 Mon Sep 17 00:00:00 2001 From: "elena.parovyshnaya" Date: Wed, 10 Jun 2020 15:59:50 +0300 Subject: [PATCH] #20: Switch to Apache 2.0 license --- README.md | 2 +- build.gradle.kts | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 971dbc6..c56ba8b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Hits-of-Code](https://hitsofcode.com/github/arsysop/liho)](https://hitsofcode.com/view/github/arsysop/liho) [![codecov](https://codecov.io/gh/arsysop/liho/branch/master/graph/badge.svg)](https://codecov.io/gh/arsysop/liho) -[![](https://img.shields.io/badge/License-Apacke--2.0-brightgreen.svg)](https://github.com/arsysop/liho/blob/master/LICENSE) +[![](https://img.shields.io/badge/License-Apache--2.0-brightgreen.svg)](https://github.com/arsysop/liho/blob/master/LICENSE) LiHo ia a configurable and pluggale **li**cense **h**eader validation t**o**ol. It checks each file of your project sourcebase and reports whether it has valid *copyright header* or not. diff --git a/build.gradle.kts b/build.gradle.kts index 75c53ce..5074822 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,7 +22,7 @@ plugins { java jacoco `maven-publish` - // id("ru.arsysop.liho.liho-gradle-plugin") version "0.1" + //id("ru.arsysop.liho.liho-gradle-plugin") version "0.1" } group = "ru.arsysop.liho" @@ -83,7 +83,7 @@ tasks.jar { extendManifest(manifest) } -fun extendManifest(mf: Manifest): Unit { +fun extendManifest(mf: Manifest) { mf.attributes( "Group" to project.group, "Artifact" to project.name, @@ -105,10 +105,9 @@ fun extendManifest(mf: Manifest): Unit { publishing { publications { repositories { - /*maven { + maven { url = uri("$buildDir/local-repo") - }*/ - mavenLocal() + } } register("gpr") { from(components["java"])