Skip to content

Commit

Permalink
feat: functional monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeblank committed Sep 17, 2024
1 parent 2e97ca1 commit d315f5d
Show file tree
Hide file tree
Showing 18 changed files with 358 additions and 708 deletions.
109 changes: 0 additions & 109 deletions allium/build.gradle

This file was deleted.

54 changes: 54 additions & 0 deletions allium/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
val mavenGroup: String by project

val alliumVersion: String by project
val alliumReleaseCandidate: String by project
val alliumBaseName: String by project

val tinyParser: String by project


// Following by example, using semantic versioning null
var v = alliumVersion
if ("0" != alliumReleaseCandidate) {
v = "$v-rc$alliumReleaseCandidate"
}
version = v
group = mavenGroup

base {
archivesName.set(alliumBaseName)
}

dependencies {
modImplementation(include("net.fabricmc", "tiny-mappings-parser", tinyParser))
}

java {
withSourcesJar()

sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

// configure the maven publication
publishing {
publications {
register("mavenJava", MavenPublication::class) {
from(components["java"])
groupId = mavenGroup
artifactId = alliumBaseName
version = version
}
}

repositories {
maven {
name = "hugeblankRepo"
url = uri("https://maven.hugeblank.dev/releases")
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
}
}
}
}
25 changes: 0 additions & 25 deletions allium/gradle.properties

This file was deleted.

Loading

0 comments on commit d315f5d

Please sign in to comment.