Skip to content

Commit

Permalink
Add LGPL3 and change MIT license link
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Oct 19, 2023
1 parent 7437613 commit b2a45f3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@ final class PomUtils {
license.url.set('https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt')
}

@Lazy
public static final Closure LGPLv3 = { MavenPomLicense license ->
license.name.set('LGPLv3')
license.url.set('https://www.gnu.org/licenses/lgpl-3.0.txt')
}

@Lazy
public static final Closure MIT = { MavenPomLicense license ->
license.name.set('MIT')
license.url.set('https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt')
license.url.set('https://opensource.org/license/mit/')
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@ final class PomUtils {
license.url.set('https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt')
}

@Lazy
public static final Closure LGPLv3 = { MavenPomLicense license ->
license.name.set('LGPLv3')
license.url.set('https://www.gnu.org/licenses/lgpl-3.0.txt')
}

@Lazy
public static final Closure MIT = { MavenPomLicense license ->
license.name.set('MIT')
license.url.set('https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt')
license.url.set('https://opensource.org/license/mit/')
}
}

Expand Down

0 comments on commit b2a45f3

Please sign in to comment.