Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
daymxn committed Aug 4, 2022
1 parent c04995a commit bde02b1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
kotlin("jvm") version "1.7.10"
id("daymxn-plugin")
id("com.daymxn.kwiki") version "0.9.15"
id("maven-publish")
`java-library`
}

Expand All @@ -19,8 +20,29 @@ kWiki {
}

group = "com.daymxn"
version = "0.1.0"
version = "1.0.0"

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/daymxn/kHTML")
credentials {
username = project.findProperty("gpr.user")?.toString() ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key")?.toString() ?: System.getenv("TOKEN")
}
}
}
publications {
register<MavenPublication>("kHTML") {
from(components["java"])
pom {
url.set("https://maven.pkg.github.com/daymxn/kHTML")
}
}
}
}
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ dependencyResolutionManagement {
}
}

rootProject.name = "kHTML"
rootProject.name = "khtml"

0 comments on commit bde02b1

Please sign in to comment.