Skip to content

Commit

Permalink
#20: Switch to Apache 2.0 license
Browse files Browse the repository at this point in the history
  • Loading branch information
eparovyshnaya committed Jun 10, 2020
1 parent b1b0fe6 commit cd16a96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 4 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand All @@ -105,10 +105,9 @@ fun extendManifest(mf: Manifest): Unit {
publishing {
publications {
repositories {
/*maven {
maven {
url = uri("$buildDir/local-repo")
}*/
mavenLocal()
}
}
register<MavenPublication>("gpr") {
from(components["java"])
Expand Down

0 comments on commit cd16a96

Please sign in to comment.