Fix gradle api key
This commit is contained in:
@@ -8,7 +8,7 @@ plugins {
|
||||
group = "com.softwaresmyth"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
val mySecret = project.findProperty("mySecretProperty")
|
||||
val mySecret = project.findProperty("gradleKey")
|
||||
|
||||
publishing {
|
||||
// Define a publication, in this case for Maven
|
||||
@@ -29,30 +29,30 @@ publishing {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
create<MavenPublication>("Smythery") {
|
||||
// Specify which component to publish (usually "java" for a standard library)
|
||||
from(components["java"])
|
||||
|
||||
// Optional: Customize POM metadata (required for Maven Central)
|
||||
pom {
|
||||
name = "Ornot"
|
||||
description = "A library of methods that do nothing"
|
||||
url = "https://gitea.softwaresmyth.com/numbers/Ornot"
|
||||
licenses {
|
||||
license {
|
||||
name = "The Apache License, Version 2.0"
|
||||
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
|
||||
}
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
id = "Numbers"
|
||||
name = "Josh Chester"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//
|
||||
// create<MavenPublication>("Smythery") {
|
||||
// // Specify which component to publish (usually "java" for a standard library)
|
||||
// from(components["java"])
|
||||
//
|
||||
// // Optional: Customize POM metadata (required for Maven Central)
|
||||
// pom {
|
||||
// name = "Ornot"
|
||||
// description = "A library of methods that do nothing"
|
||||
// url = "https://gitea.softwaresmyth.com/numbers/Ornot"
|
||||
// licenses {
|
||||
// license {
|
||||
// name = "The Apache License, Version 2.0"
|
||||
// url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
|
||||
// }
|
||||
// }
|
||||
// developers {
|
||||
// developer {
|
||||
// id = "Numbers"
|
||||
// name = "Josh Chester"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user