-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
83 lines (75 loc) · 2.34 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
plugins {
id 'java'
id 'java-gradle-plugin'
id 'maven-publish'
id "com.gradle.plugin-publish" version "0.12.0"
}
group 'dev.bmac.intellij.plugins'
version '1.3.5'
repositories {
mavenCentral()
}
dependencies {
implementation gradleApi()
implementation('com.squareup.okhttp3:okhttp') {
version {
strictly '[4.4.1, 5.0.0)'
prefer '4.9.3'
}
}
implementation "javax.xml.bind:jaxb-api:2.3.1"
implementation 'com.sun.xml.bind:jaxb-impl:2.3.3-b02'
implementation 'com.google.guava:guava:31.1-jre'
implementation "com.github.rholder:guava-retrying:2.0.0"
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.232'
implementation('org.jetbrains.intellij:blockmap') {
version {
strictly '[1.0.5, 1.0.6]'
prefer '1.0.6'
}
}
implementation 'com.google.code.gson:gson:2.9.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.3'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:4.3.1'
testImplementation('com.adobe.testing:s3mock-junit4:2.4.10') {
exclude group: 'org.slf4j', module: '*'
exclude group: 'org.apache.logging.log4j', module: 'log4j-to-slf4j'
exclude group: 'ch.qos.logback', module: 'logback-classic'
}
}
def generatedResourcesDir = file("$buildDir/generated-resources")
processResources {
def outputFile = file("$generatedResourcesDir/project.version")
outputs.dir(generatedResourcesDir)
inputs.property("version", project.version)
doFirst {
outputFile.write(project.version as String)
}
}
sourceSets {
main {
resources {
srcDirs generatedResourcesDir
}
}
}
gradlePlugin {
plugins {
pluginUploader {
id = 'dev.bmac.intellij.plugin-uploader'
implementationClass = 'dev.bmac.gradle.intellij.IntellijPublishPlugin'
}
}
}
pluginBundle {
description = 'Manages uploading and updating updatePlugins.xml for IntelliJ plugins to a private repository'
vcsUrl = 'https://github.com/brian-mcnamara/plugin_uploader'
website = 'https://github.com/brian-mcnamara/plugin_uploader'
tags = ['IntelliJ', "plugins", "updatePlugins.xml"]
plugins {
pluginUploader {
displayName = 'IntelliJ plugin publisher'
}
}
}