Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Feature dependency definition in build.gradle #41

Merged
merged 1 commit into from
Jul 29, 2018

Conversation

Larusso
Copy link
Member

@Larusso Larusso commented May 25, 2018

Description

This is the first part if bringing the basic paket configuration
(paket.dependencies, paket.template, paket.references) into the gradle
project. This change adds custom paket dependency handler to the
gradle dependency handler and a nuget repository factory.

build.gradle

dependencies {
    paket {
        nuget "Test ~> 1"
    }
}

repositories {
   nuget {
       url 'some/url'
   }
}

At the moment only nuget dependencies are supported.
When dependencies are configured in the build.gradle file, a
paket.dependencies file will be generated. If this file already
exists, it will be overridden.

Changes

ADD paket dependencies handler
ADD nuget dependency definition
ADD nuget dependency source artifact repository handler
ADD new task paketDependencies

@Larusso Larusso requested a review from marcolink May 25, 2018 15:37
@ghost ghost assigned Larusso May 25, 2018
@Larusso Larusso force-pushed the feature/gradle_paket_dependency_definition branch from 7718c82 to 310e6f5 Compare May 25, 2018 19:14
Description
===========

This is the first part if bringing the basic paket configuration
(paket.dependencies, paket.template, paket.references) into the gradle
project. This change adds custom `paket` dependency handler to the
gradle dependency handler and a nuget repository factory.

*build.gradle*
```groovy
dependencies {
    paket {
        nuget "Test ~> 1"
    }
}

repositories {
   nuget {
       url 'some/url'
   }
}
```

At the moment only `nuget` dependencies are supported.
When dependencies are configured in the `build.gradle` file, a
`paket.dependencies` file will be generated. If this file already
exists, it will be overridden.

Changes
=======

![ADD] paket dependencies handler
![ADD] nuget dependency definition
![ADD] nuget dependency source artifact repository handler
![ADD] new task `paketDependencies`
@Larusso Larusso force-pushed the feature/gradle_paket_dependency_definition branch from 310e6f5 to 36cc1d7 Compare May 26, 2018 11:57
Copy link
Contributor

@marcolink marcolink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Larusso Larusso merged commit 1edeaff into master Jul 29, 2018
@ghost ghost removed review sprintlog labels Jul 29, 2018
@Larusso Larusso deleted the feature/gradle_paket_dependency_definition branch July 29, 2018 10:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants