Skip to content

Commit 1ff92d9

Browse files
committed
attempt build with as 3.6.1
1 parent 2404376 commit 1ff92d9

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

build.gradle

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.31'
2+
ext.kotlin_version = '1.3.61'
33

44
repositories {
55
// maven { url 'http://192.168.2.39:8908/repository/maven-public/' }
6+
maven { url 'https://maven.aliyun.com/repository/public' }
67
mavenCentral()
8+
maven { url "https://www.jetbrains.com/intellij-repository/releases" }
9+
maven { url "https://jetbrains.bintray.com/intellij-third-party-dependencies" }
710
}
811
dependencies {
912
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1013
}
1114
}
1215

1316
plugins {
14-
id 'org.jetbrains.intellij' version '0.3.4'
17+
id 'org.jetbrains.intellij' version '0.4.2'
1518
}
1619

1720
version '1.4.1'
1821
group 'com.longforus'
1922

20-
23+
apply plugin: 'java'
2124
apply plugin: 'kotlin'
25+
apply plugin: 'kotlin-kapt'
2226
apply plugin: 'org.jetbrains.intellij'
2327

2428
sourceCompatibility = 1.8
29+
targetCompatibility = 1.8
2530

2631
//sourceSets {
2732
// main {
@@ -33,7 +38,10 @@ sourceCompatibility = 1.8
3338

3439
repositories {
3540
// maven{ url 'http://192.168.2.39:8908/repository/maven-public/'}
41+
maven { url 'https://maven.aliyun.com/repository/public' }
3642
mavenCentral()
43+
maven { url "https://www.jetbrains.com/intellij-repository/releases" }
44+
maven { url "https://jetbrains.bintray.com/intellij-third-party-dependencies" }
3745
}
3846

3947

@@ -50,8 +58,8 @@ if (!hasProperty('StudioCompilePath')) {
5058
}
5159

5260
intellij {
53-
// version '2018.3'
54-
plugins 'org.jetbrains.kotlin:1.3.10-release-IJ2018.3-1' //here
61+
// version '2019.2'
62+
plugins 'org.jetbrains.kotlin:1.3.61-release-IJ2019.2-1' //here
5563
// plugins 'org.jetbrains.kotlin:1.3.21-release-IJ2018.2-1' //here
5664
// version '2018.2'
5765
// plugins 'org.jetbrains.kotlin:1.2.61-release-IJ2018.2-1' //here
@@ -70,6 +78,7 @@ dependencies {
7078
compileOnly fileTree(dir: "$StudioCompilePath/lib", include: ['*.jar'])
7179
testCompile fileTree(dir: "$StudioCompilePath/plugins/android/lib", include: ['*.jar'])
7280
testCompile fileTree(dir: "$StudioCompilePath/lib", include: ['*.jar'])
81+
compile "com.jetbrains.intellij.java:java-psi:192.7142.36"
7382
// compile 'com.squareup:javapoet:1.11.0'
7483
// testCompile group: 'junit', name: 'junit', version: '4.12'
7584
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip

0 commit comments

Comments
 (0)