Skip to content

Commit

Permalink
update group, plugin id and publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielittner committed Apr 2, 2024
1 parent b4947c5 commit 8b15965
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 25 deletions.
13 changes: 0 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@ subprojects {
name = "projectLocalMaven"
url = rootProject.layout.buildDirectory.dir("localMaven")
}
/**
* Want to push to an internal repository for testing?
* Set the following properties in ~/.gradle/gradle.properties.
*
* internalUrl=YOUR_INTERNAL_URL
* internalUsername=YOUR_USERNAME
* internalPassword=YOUR_PASSWORD
*/
maven {
name = "internal"
url = providers.gradleProperty("internalUrl")
credentials(PasswordCredentials)
}
}
}
}
Expand Down
17 changes: 8 additions & 9 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
GROUP=app.cash.paparazzi
VERSION_NAME=1.3.4-SNAPSHOT
GROUP=com.freeletics.fork.paparazzi

POM_URL=https://github.com/cashapp/paparazzi/
POM_SCM_URL=https://github.com/cashapp/paparazzi/
POM_SCM_CONNECTION=scm:git:git://github.com/cashapp/paparazzi.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/cashapp/paparazzi.git
POM_URL=https://github.com/freeletics/paparazzi/
POM_SCM_URL=https://github.com/freeletics/paparazzi/
POM_SCM_CONNECTION=scm:git:git://github.com/freeletics/paparazzi.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/freeletics/paparazzi.git

POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo

POM_DEVELOPER_ID=cashapp
POM_DEVELOPER_NAME=CashApp
POM_DEVELOPER_URL=https://github.com/cashapp/
POM_DEVELOPER_ID=freeletics
POM_DEVELOPER_NAME=Freeletics
POM_DEVELOPER_URL=https://github.com/freeletics/

SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
Expand Down
2 changes: 1 addition & 1 deletion paparazzi-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (rootProject.name == 'paparazzi-root') {
gradlePlugin {
plugins {
paparazzi {
id = 'app.cash.paparazzi'
id = 'com.freeletics.fork.paparazzi'
implementationClass = 'app.cash.paparazzi.gradle.PaparazziPlugin'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public class PaparazziPlugin : Plugin<Project> {
val dependency = if (isInternal()) {
dependencies.project(mapOf("path" to ":paparazzi"))
} else {
dependencies.create("app.cash.paparazzi:paparazzi:$VERSION")
dependencies.create("com.freeletics.fork.paparazzi:paparazzi:$VERSION")
}
configurations.getByName("testImplementation").dependencies.add(dependency)
}
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'app.cash.paparazzi'
apply plugin: 'com.freeletics.fork.paparazzi'
apply plugin: 'jacoco'

android {
Expand Down

0 comments on commit 8b15965

Please sign in to comment.