Skip to content

Commit

Permalink
TF Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetuska committed Jun 20, 2021
1 parent ff500ff commit 283c0cd
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 50 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,30 @@
[![Kotlin JS IR supported](https://img.shields.io/badge/Kotlin%2FJS-IR%20supported-yellow?style=flat-square&logo=kotlin)](https://kotl.in/jsirsupported)

# [KAMP](https://www.kamp.ml)

This project aims to provide an extensive catalogue of kotlin multiplatform projects across various maven repositories
out there.

## Motivation
The project is heavily inspired by existing community catalogues such as [Awesome Kotlin](https://github.com/KotlinBy/awesome-kotlin)
& [multiplatform-libraries](https://github.com/icerockdev/multiplatform-libraries). While they all provide the same feature
as this project (a catalogue for kotlin libraries), they all require the library authors to be aware of them and register
their creations. This project aims to automate that to ensure the community has an extensive self-updating catalogue of
all the marvelous kotlin creations out there!

The project is heavily inspired by existing community catalogues such
as [Awesome Kotlin](https://github.com/KotlinBy/awesome-kotlin)
& [multiplatform-libraries](https://github.com/icerockdev/multiplatform-libraries). While they all provide the same
feature as this project (a catalogue for kotlin libraries), they all require the library authors to be aware of them and
register their creations. This project aims to automate that to ensure the community has an extensive self-updating
catalogue of all the marvelous kotlin creations out there!

## Structure
The project consists of two modules - a background processor providing the data feed and a webapp for exposing it as a catalogue.

The project consists of two modules - a background processor providing the data feed and a webapp for exposing it as a
catalogue.

### Scanner
An internet crawler that's meant to scan and identify kotlin libraries across the web.
It is only able to find the libraries published with gradle-metadata, so older Kotlin libraries might be missing.
Currently, supported maven repositories are:

An internet crawler that's meant to scan and identify kotlin libraries across the web. It is only able to find the
libraries published with gradle-metadata, so older Kotlin libraries might be missing. Currently, supported maven
repositories are:

* [Maven Central](https://repo1.maven.org/maven2)
* [Gradle Plugin Portal](https://plugins.gradle.org/m2)
* [Spring](https://repo.spring.io/release)
Expand Down
15 changes: 7 additions & 8 deletions buildSrc/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import de.fayard.refreshVersions.*

buildscript {
repositories { gradlePluginPortal() }
dependencies {
classpath("de.fayard.refreshVersions:refreshVersions:0.9.7")
}
pluginManagement {
plugins {
id("de.fayard.refreshVersions") version "0.10.1"
}
}

bootstrapRefreshVersionsForBuildSrc()
plugins {
id("de.fayard.refreshVersions")
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
16 changes: 11 additions & 5 deletions infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,24 @@ resource "cloudflare_zone" "kamp" {
zone = "kamp.ml"
}

data "cloudflare_zones" "petuska_dev" {
filter {
name = "petuska.dev"
}
}

resource "cloudflare_record" "apex" {
zone_id = cloudflare_zone.kamp.id
name = "kamp.ml"
value = "www.kamp.ml"
zone_id = data.cloudflare_zones.petuska_dev.zones[0].id
name = "kamp"
value = "www.kamp.petuska.dev"
type = "CNAME"
proxied = true
ttl = 1
}

resource "cloudflare_record" "www" {
zone_id = cloudflare_zone.kamp.id
name = "www"
zone_id = data.cloudflare_zones.petuska_dev.zones[0].id
name = "www.kamp"
value = "gentle-mud-0876db203.azurestaticapps.net"
type = "CNAME"
proxied = false
Expand Down
14 changes: 2 additions & 12 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import de.fayard.refreshVersions.bootstrapRefreshVersions

buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
classpath("de.fayard.refreshVersions:refreshVersions:0.9.7")
}
plugins {
id("de.fayard.refreshVersions") version "0.10.1"
}

bootstrapRefreshVersions()

rootProject.name = "kamp"
include(":scanner", ":app")
24 changes: 9 additions & 15 deletions versions.properties
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
## suppress inspection "SpellCheckingInspection" for whole file
## suppress inspection "UnusedProperty" for whole file
##
## Dependencies and Plugin versions with their available updates
## Generated by $ ./gradlew refreshVersions
## Please, don't put extra comments in that file yet, keeping them is not supported yet.
#### Dependencies and Plugin versions with their available updates.
#### Generated by `./gradlew refreshVersions` version 0.10.1
####
#### Don't manually edit or split the comments that start with four hashtags (####),
#### they will be overwritten by refreshVersions.
####
#### suppress inspection "SpellCheckingInspection" for whole file
#### suppress inspection "UnusedProperty" for whole file

plugin.com.github.jakemarsden.git-hooks=0.0.2

plugin.org.jlleitschuh.gradle.ktlint=10.0.0
plugin.org.jlleitschuh.gradle.ktlint=10.1.0

version.ch.qos.logback..logback-classic=1.2.3
## # available=1.3.0-alpha0
## # available=1.3.0-alpha1
## # available=1.3.0-alpha2
## # available=1.3.0-alpha3
## # available=1.3.0-alpha4
## # available=1.3.0-alpha5

version.com.microsoft.azure..applicationinsights-web-auto=2.6.3

Expand All @@ -24,8 +20,6 @@ version.dev.fritz2..components=0.9.1
version.kotest=4.4.3

version.kotlin=1.4.32
## # available=1.5.0-M1
## # available=1.5.0-M2

version.kotlinx.cli=0.3.2

Expand Down

0 comments on commit 283c0cd

Please sign in to comment.