forked from garethjevans/swagger-codegen-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 26
/
build.gradle
58 lines (50 loc) · 1.14 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
buildscript {
repositories {
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.gradle.publish:plugin-publish-plugin:0.9.7'
}
}
apply plugin: 'com.gradle.plugin-publish'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'maven'
dependencies {
testCompile 'junit:junit:4.12'
compile 'io.swagger:swagger-codegen:2.2.3'
compile gradleApi()
compile localGroovy()
}
repositories {
mavenCentral()
jcenter()
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('../repo'))
}
}
}
version = '1.7.4'
group = 'org.detoeuf'
sourceCompatibility = 1.7
targetCompatibility = 1.7
pluginBundle {
website = 'http://www.gradle.org/'
vcsUrl = 'https://github.com/thebignet/swagger-codegen-gradle-plugin'
description = 'Swagger code generator'
tags = ['swagger']
plugins {
swaggerCodeGenPlugin {
id = 'org.detoeuf.swagger-codegen'
displayName = 'Gradle Swagger code generator plugin'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0.1'
}