Skip to content

Commit

Permalink
build(gradle): Kotlin DSL build and Dependabot (#243)
Browse files Browse the repository at this point in the history
* build: gradle bump - 6.7.1

* build: refactor to kotlin dsl

with extended functions in `buildSrc` and `gradle.properties` (group and version)

* chore: adding `.github/dependabot.yml`

for kotlin dsl builds. Dependabot preview will not work for the kotlin dsl builds.

* build(gradle): migrate dependencies to depenencies.kt file

resolve conflict with configurations. For later

* fix(gradle): fix build duplication issue

Mentioned in discord private chat, and i guess i can ready to merge that

* fix(gradle): versioning

gradle build incorrect version between lombok and project

* build(gradle): build updates

Adapt to #269

* deps: bumping gradle to 6.8.1

* chore: update deps to equal current develop

* chore: gradle 7 / a few other changes

* chore: link code of conduct from .github repo / change dependabot config

* chore: Update build.gradle.kts

backtick quoting is not needed for that

* feat: update lombok to v1.18.20

Co-authored-by: Damian Staszewski <359222+stachu540@users.noreply.github.com>

* docs: update README.md

update badges:
- adds javadoc
- add link to central
- "WIKI" names renamed to "documentation" and colored to "grey"
- all badges style are flat (not square)

* chore: updating files

`project.kt` - CI Management to GitLab Pipelines - for now
`globals.kt` - artifactId variable listing adjustment for better readable code lookup

* chore: adding manifest plugin to auto-generate

* fix: bucket4j dependency

* Update build.gradle.kts

Co-authored-by: Sidd <iProdigy@users.noreply.github.com>

* deps: bump `com.github.johnrengelman.shadow`

* fix: set the correct artifactId's for each module

Co-authored-by: Philipp Heuer <git@philippheuer.me>
Co-authored-by: Philipp Heuer <philipp.heuer@outlook.com>
Co-authored-by: Sidd <iProdigy@users.noreply.github.com>
  • Loading branch information
4 people committed Apr 29, 2021
1 parent 68bfe14 commit 4289ec5
Show file tree
Hide file tree
Showing 37 changed files with 581 additions and 774 deletions.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
# schedule to check dependencies
schedule:
interval: "daily"
# limit pr's per day
open-pull-requests-limit: 10
# target branch for merge requests
target-branch: "develop"
# pr naming, `dependabot/gradle/<branch>/<group>-<artifact>-<version>`
pull-request-branch-name:
separator: "/"
# default reviewers for new merge requests
reviewers:
- "PhilippHeuer"
- "iProdigy"
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@ local.properties
*.iws
.idea/

#Gradle
# Gradle
.gradletasknamecache
.gradle/
gradle.properties

# Exceptions
!gradle/wrapper/*.jar
gradle.properties

# Logs / Save Files
config/*
Expand Down
6 changes: 0 additions & 6 deletions .gitlab-ci.yml

This file was deleted.

76 changes: 0 additions & 76 deletions CODE_OF_CONDUCT.md

This file was deleted.

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Support:

Badges:

![Latest](https://img.shields.io/github/release/twitch4j/twitch4j/all.svg?style=flat-square&label=latest)
[![Latest](https://img.shields.io/github/release/twitch4j/twitch4j/all.svg?style=flate&label=latest)](https://search.maven.org/search?q=g:com.github.twitch4j)
[![pipeline status](https://gitlab.com/twitch4j/twitch4j/badges/master/pipeline.svg)](https://gitlab.com/twitch4j/twitch4j/commits/master)
[![Docs](https://img.shields.io/badge/WIKI-Latest-green.svg?style=flat-square)](https://twitch4j.github.io/docs/)
[![Docs](https://img.shields.io/badge/documentation-grey.svg?style=flat)](https://twitch4j.github.io/docs/)
[![Docs](https://img.shields.io/badge/javadoc-brightgreen.svg?style=flat)](https://twitch4j.github.io/javadoc/)

--------

Expand Down Expand Up @@ -50,7 +51,7 @@ If you discover any issues/have feature requests, then please [open an issue her

We welcome contributions to the library, be it new features, bug fixes, or even small enhancements.
Please do read the [contributing guide](https://twitch4j.github.io/docs/contribution/) on the documentation site as it provides code guidelines and helpful tips for getting started.
By contributing, you are expected to abide by our [code of conduct](./CODE_OF_CONDUCT.md) and agree to the license below.
By contributing, you are expected to abide by our [code of conduct](https://github.com/twitch4j/.github/blob/main/CODE_OF_CONDUCT.md) and agree to the license below.
Thank you again for your interest in improving Twitch4J!

## License
Expand Down
27 changes: 0 additions & 27 deletions auth/build.gradle

This file was deleted.

19 changes: 19 additions & 0 deletions auth/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
dependencies {
// Credential Manager
api(group = "com.github.philippheuer.credentialmanager", name = "credentialmanager")
//testImplementation(group = "com.github.philippheuer.credentialmanager", name = "credentialmanager-ews", version = "0.1.1")

// Http Client
api(group = "com.squareup.okhttp3", name = "okhttp")

// Jackson
api(group = "com.fasterxml.jackson.core", name = "jackson-databind")
}

publishing.publications.withType<MavenPublication> {
artifactId = "twitch4j-auth"
pom {
name.set("Twitch4J Auth Module")
description.set("Authentication dependency")
}
}
142 changes: 0 additions & 142 deletions build.gradle

This file was deleted.

0 comments on commit 4289ec5

Please sign in to comment.