From cc86ddec787c2bc5478a76693f7d0c1575025b27 Mon Sep 17 00:00:00 2001 From: meonlol Date: Mon, 4 Mar 2019 16:25:20 +0100 Subject: [PATCH] Add authentication arguments to @MavenRepository --- build.gradle | 2 +- src/main/kotlin/ScriptDirectives.kt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 9c817c1..91ff826 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ group = 'com.github.holgerbrandl' -version = '1.1' +version = '1.3' buildscript { ext.kotlin_version = '1.1.60' diff --git a/src/main/kotlin/ScriptDirectives.kt b/src/main/kotlin/ScriptDirectives.kt index 387ef00..11a7755 100644 --- a/src/main/kotlin/ScriptDirectives.kt +++ b/src/main/kotlin/ScriptDirectives.kt @@ -44,5 +44,4 @@ annotation class DependsOnMaven(val artifactLocator: String) // in contrast to the original version we make the id mandatory here. // This keeps ensures compatiblity with keplin but eases parsing //annotation class MavenRepository(val id: String = "", val url: String) -annotation class MavenRepository(val id: String, val url: String) - +annotation class MavenRepository(val id: String, val url: String, val user: String = "", val pass: String = "")