Skip to content

Commit

Permalink
Set up publication
Browse files Browse the repository at this point in the history
  • Loading branch information
scana committed Nov 20, 2020
1 parent 0c46c1e commit 9575372
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ gradlePlugin {
register("onesky-gradle") {
id = "co.brainly.onesky"
displayName = "OneSky Gradle Plugin"
description = "Sync your translations files with OneSky"
implementationClass = "co.brainly.onesky.OneSkyPlugin"
}
}
}

pluginBundle {
description = "Sync your translations files with OneSky"
website = "https://brainly.com"
vcsUrl = "https://github.com/brainly/onesky-gradle-plugin"
}

publishing {
repositories {
mavenLocal()
Expand Down Expand Up @@ -53,5 +58,17 @@ dependencies {

testImplementation("junit:junit:4.12")
testImplementation("com.squareup.okhttp3:mockwebserver:$okHttp")
}

publishing {
repositories {
maven {
name = "BrainlyMaven"
setUrl("https://brainly-maven.appspot.com")
credentials {
username = findProperty("BRAINLY_MAVEN_ADMIN_USER").toString()
password = findProperty("BRAINLY_MAVEN_ADMIN_PASSWORD").toString()
}
}
}
}

0 comments on commit 9575372

Please sign in to comment.