diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 6f2a4a6..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: [push] - -name: Build - -jobs: - build-ubuntu: - name: Commit release - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - name: Setup JDK - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Build - run: ./gradlew build packageUberJarForCurrentOS diff --git a/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/models/MavenConfig.kt b/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/models/MavenConfig.kt index 555b1e2..4bbfa00 100644 --- a/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/models/MavenConfig.kt +++ b/core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/models/MavenConfig.kt @@ -86,6 +86,10 @@ return """ name = "$headerName" value = project.hasProperty('${headerValueProperty}') ? project.property('${headerValueProperty}') : System.getenv('${headerValueProperty}') } + + authentication { + header(HttpHeaderAuthentication) + } """ }