Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Commit

Permalink
Update Version and storage location. Remove Deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
gamma committed Oct 10, 2024
1 parent 06c61a2 commit 11d1f74
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 43 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ out/
.idea/
intellij
gradle.properties
/.DS_Store
60 changes: 17 additions & 43 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
plugins {
id "com.gradle.plugin-publish" version "0.12.0"
id "java-gradle-plugin"
id "com.jfrog.bintray" version "1.6"
}

apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'maven-publish'
//apply plugin: 'signing'
apply plugin: 'jacoco'
apply plugin: 'project-report'

sourceCompatibility = 1.6
targetCompatibility = 1.6
sourceCompatibility = 11
targetCompatibility = 11

defaultTasks 'clean', 'build'

version = '2.16.2'
group = 'com.cloudzilla.gradle'
version = '2.17.0'
group = 'de.inetsoftware.gradle'
ext.archivesBaseName = 'gradle-js-plugin'
ext.isSnapshot = version.endsWith("-SNAPSHOT")

Expand All @@ -38,7 +36,7 @@ task createClasspathManifest {

dependencies {
compile gradleApi()
compile('com.google.javascript:closure-compiler:v20200830') {
compile('com.google.javascript:closure-compiler:v20240317') {
exclude module: 'junit'
}
compile('io.jdev.html2js:html2js:0.1') {
Expand Down Expand Up @@ -111,29 +109,16 @@ pluginBundle {

plugins {
jsPlugin {
id = 'com.cloudzilla.gradle.js'
id = 'de.inetsoftware.gradle.js'
displayName = 'Gradle JavaScript Plugin'
}
}
mavenCoordinates {
groupId = 'com.cloudzilla.gradle'
groupId = 'de.inetsoftware.gradle'
artifactId = 'gradle-js-plugin'
}
}

bintray {
user = System.properties['bintrayUsername']
key = System.properties['bintrayApiKey']
publications = ['maven']
pkg {
repo = 'gradle-plugins'
name = 'gradle-js-plugin'
desc = 'Gradle plugin for working with JS.'
licenses = ['Apache-2.0']
labels = ['gradle', 'js']
}
}

test {
systemProperties['version'] = version
testLogging {
Expand All @@ -143,22 +128,6 @@ test {
}
}

install.repositories.mavenInstaller {
pom.project(pomConfiguration)
}

uploadArchives {
repositories.mavenDeployer {
name = 'mavenCentralReleaseDeployer'
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') {
authentication(userName: System.properties['mavenCentralUsername'], password: System.properties['mavenCentralPassword'])
releases(updatePolicy: 'always')
snapshots(updatePolicy: 'always')
}
pom.project(pomConfiguration)
}
}

/**
* Create POM config and return for use by other tasks.
*/
Expand All @@ -167,7 +136,7 @@ def getPomConfiguration() {
name 'Gradle JS Plugin'
packaging 'jar'
description 'A Gradle plugin for working with JS.'
url 'https://github.com/eriwen/gradle-js-plugin'
url 'https://github.com/i-net-software/gradle-js-plugin'
licenses {
license {
name 'The Apache Software License, Version 2.0'
Expand All @@ -181,11 +150,16 @@ def getPomConfiguration() {
name 'Eric Wendelin'
email '[email protected]'
}
developer {
id 'inetsoftware'
name 'i-net software GmbH'
email '[email protected]'
}
}
scm {
connection 'scm:https://mampcs@github.com/mampcs/gradle-js-plugin'
developerConnection 'scm:[email protected]:mampcs/gradle-js-plugin.git'
url 'https://github.com/mampcs/gradle-js-plugin'
connection 'scm:https://gamma@github.com/i-net-software/gradle-js-plugin'
developerConnection 'scm:[email protected]/i-net-software/gradle-js-plugin.git'
url 'http://github.com/i-net-software/gradle-js-plugin'
}
}
}
Expand Down

0 comments on commit 11d1f74

Please sign in to comment.