Skip to content

Conversation

@chris-mitchell
Copy link
Contributor

  • Adds gradle portal plugin
  • Adds maven publishing plugin
  • Refactors samples so we can publish locally and consume snapshots
  • Add releasing notes
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testImplementation("junit:junit:4.13.1")
testImplementation("com.nhaarman:mockito-kotlin:1.5.0")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:1.4.10")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit kotlin test is just an extra dep to maintain

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, removed.

@@ -0,0 +1 @@
implementation-class=com.dropbox.affectedmoduledetector.AffectedModuleDetectorPlugin No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a recent thing that came out https://github.com/ansman/auto-plugin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems great - I tried to integrate but ran into a couple issues.

#6

"buildSrc/"
]
apply plugin: "org.jlleitschuh.gradle.ktlint"
//apply plugin: "com.dropbox.affectedmoduledetector.AffectedModuleDetector"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment, yes. The plugin is under review on the portal plugin, so this won't work unless someone publishes locally.

I'll add back in once we have a snapshot live.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I just received an email saying it is published. Woo! I'll add this back in.

jvmTarget = '1.8'
}

// affectedModuleDetector {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional?

@chris-mitchell chris-mitchell merged commit 36f204b into main Oct 29, 2020
@chris-mitchell chris-mitchell deleted the gradlePlugin branch October 29, 2020 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants