-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fb0346
commit 850e3c9
Showing
10 changed files
with
110 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
.github/workflows/checks.yml → .github/workflows/pr-checks.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,9 @@ buildscript { | |
mavenCentral() | ||
google() | ||
gradlePluginPortal() | ||
maven { url = uri("https://oss.sonatype.org/service/local/repositories/snapshots/content") } // SNAPSHOT Versions for statik | ||
maven { | ||
url = uri("https://oss.sonatype.org/service/local/repositories/snapshots/content") | ||
} // SNAPSHOT Versions for statik | ||
} | ||
} | ||
|
||
|
@@ -16,7 +18,9 @@ allprojects { | |
mavenCentral() | ||
google() | ||
gradlePluginPortal() | ||
maven { url = uri("https://oss.sonatype.org/service/local/repositories/snapshots/content") } // SNAPSHOT Versions for statik | ||
maven { | ||
url = uri("https://oss.sonatype.org/service/local/repositories/snapshots/content") | ||
} // SNAPSHOT Versions for statik | ||
} | ||
} | ||
|
||
|
@@ -39,14 +43,31 @@ subprojects | |
it.afterEvaluate { | ||
val hasPublishPlugin = it.plugins.hasPlugin("com.vanniktech.maven.publish.base") | ||
if (hasPublishPlugin) { | ||
val extension = it.extensions.getByType(MavenPublishBaseExtension::class.java) | ||
extension.apply { | ||
// publishToMavenCentral(SonatypeHost.DEFAULT) | ||
// or when publishing to https://s01.oss.sonatype.org | ||
it.extensions.getByType(MavenPublishBaseExtension::class.java).apply { | ||
publishToMavenCentral(SonatypeHost.S01, automaticRelease = true) | ||
// or when publishing to https://central.sonatype.com/ | ||
signAllPublications() | ||
pom { | ||
url.set("https://www.github.com/square/invert") | ||
licenses { | ||
license { | ||
name.set("The Apache Software License, Version 2.0") | ||
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt") | ||
distribution.set("repo") | ||
} | ||
} | ||
scm { | ||
url.set("https://www.github.com/square/invert") | ||
connection.set("scm:git:git://github.com/square/invert.git") | ||
developerConnection.set("scm:git:ssh://[email protected]/square/invert.git") | ||
} | ||
developers { | ||
developer { | ||
name.set("Block, Inc.") | ||
url.set("https://github.com/square") | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters