Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ rstaui_*.zip
.gradle
build
out/
.vscode/

16 changes: 2 additions & 14 deletions RSTAUI/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ base {
}

dependencies {
api 'com.fifesoft:rsyntaxtextarea:3.5.4'
api 'com.fifesoft:autocomplete:3.3.2'
api 'com.fifesoft:rsyntaxtextarea:3.6.1'
api 'com.fifesoft:autocomplete:3.3.3'
testImplementation platform('org.junit:junit-bom:5.12.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Expand Down Expand Up @@ -44,18 +44,6 @@ jar {
}

publishing {
repositories {
maven {
def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
url = isReleaseVersion ? releasesRepoUrl : snapshotsRepoUrl
credentials { // Credentials usually kept in user's .gradle/gradle.properties
// We must defensively check for these properties so Travis CI build works
username = project.hasProperty('ossrhUsername') ? ossrhUsername : 'unknown'
password = project.hasProperty('ossrhPassword') ? ossrhPassword : 'unknown'
}
}
}
publications {
maven(MavenPublication) {

Expand Down
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'com.github.spotbugs' version '6.1.7'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
}

// We require building with JDK 17 or later. Built artifact compatibility
Expand Down Expand Up @@ -75,3 +76,15 @@ subprojects {
options.compilerArgs << '-Xlint:deprecation' << '-Xlint:unchecked'
}
}

nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
// We must defensively check for these properties so CI builds work
username.set(project.hasProperty('sonatypeUsername') ? sonatypeUsername : 'unknown')
password.set(project.hasProperty('sonatypePassword') ? sonatypePassword : 'unknown')
}
}
}
6 changes: 6 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
pluginManagement {
repositories {
gradlePluginPortal()
}
}

rootProject.name = 'RSTAUI'

include 'RSTAUI', 'RSTAUIDemo'