ninetwozero / gradle-to-js

A quick & dirty Gradle build file to JavaScript object parser
Apache License 2.0
47 stars 21 forks source link

Add support for Gradle wildcard #44

Open mrbusche opened 6 months ago

mrbusche commented 6 months ago

Currently a plugin block of

plugins {
    id 'org.springframework.boot' version '3.2.+'
    id 'io.spring.dependency-management' version '1.1.+'
}

Outputs

plugins: [
  {id: 'org.springframework.boot'},
  {id: 'io.spring.dependency-management'}
]

without the versions. This add support to return the versions. The new output would be

plugins: [
  {id: 'org.springframework.boot', version: '3.2.+'},
  {id: 'io.spring.dependency-management', version: '1.1.+'}
]
mrbusche commented 5 months ago

I swapped to using the commit from my repo for my project that utilizes gradle-to-js https://github.com/mrbusche/spring-boot-dependency-checker/blob/main/package.json#L29